Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

How to rename a civAppNetwork?

$
0
0

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!


Viewing all articles
Browse latest Browse all 179681

Trending Articles



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