VMware Cloud Community
anthonyhwynn
Contributor
Contributor
Jump to solution

PowerShell to remove Advanced Setting

Powershell to remove the Advancedsetting value item on single vm.  thanks

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Would this work for you?

Get-VM -Name 'VMName' |

Get-AdvancedSetting -Name 'SettingName' |

Remove-AdvancedSetting -Confirm:$false


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
1 Reply
LucD
Leadership
Leadership
Jump to solution

Would this work for you?

Get-VM -Name 'VMName' |

Get-AdvancedSetting -Name 'SettingName' |

Remove-AdvancedSetting -Confirm:$false


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos