Remove-LMDeviceProperty #42
-
|
When I use this function it always prompts me to Confirm removal of a property, even when I don't select the -Confirm option. The following example will demonstrate this: Results in the following Confirm dialogue box popping up. I am not sure how to force it to remove the property in bulk when I am trying to remove hundreds of the same property across the database |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Since that cmdlet is a destructive action it will always prompt for confirmation. For automated scenarios you can override that behavior by setting the parameter |
Beta Was this translation helpful? Give feedback.

Since that cmdlet is a destructive action it will always prompt for confirmation. For automated scenarios you can override that behavior by setting the parameter
-Confirm:$false