Quantcast
Channel: VMware Communities: Message List - vCenter™ Server
Viewing all articles
Browse latest Browse all 15787

Re: Powercli - change custom spec network back to default settings

$
0
0

That was a good suggestion, but it doesn't revert the Network settings inside the Customization Specification to "Typical". Instead, it's still set at "Custom", but everything is blank.

 

Here's what I did:

 

Get-OSCustomizationSpec <CustomSpecName> | Get-OSCustomizationNicMapping | Set-OSCustomizationNicMapping -ipmode usestaticip -ipaddress x.x.x.x -subnetmask 255.255.255.0 -defaultgateway x.x.x.x -dns x.x.x.x

 

Then afterwards I want to clear that out...

 

Using your suggestion, I tried this...

 

Get-OSCustomizationSpec <CustomeSpecName> | Get-OSCustomizationNicMapping | Remove-OSCustomizationNicMapping

 

Command completed, but it didn't change it back to Typical. Just left it Custom, with nothing specified.


Viewing all articles
Browse latest Browse all 15787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>