Hi,
I would like to rename a CIvAppNetwork from vAppNetwork to IntNat with PowerCLI.
I've tried the following:
$civapp | Get-CIVAppNetwork | Set-CIVAppNetwork -ReplaceNetworkWithNewNetworkWithChangedName "IntNat"
But as per the documentation it does more than just rename the vApp network, it gives it a new HREF etc...but it also won't change the name it if there are VM's attached to it.
Yet in the GUI it's easy as right click > properties > change name > ok.
Does anyone have the cloud views or sdk code to rename the vAppNetwork the way the gui does?
Thanks!