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 |
Answered by
stevevillardi
May 24, 2025
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 |
2 replies
Answer selected by
aggie87
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

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