VMware Cloud Community
s_matsui
Contributor
Contributor

Rename NSX EdgeRouter

hi all,

I tryed to rename a EdgeRouter (NSX) via PowerCLI with this code:

Set-VM OLDNAME -VM 'NEWNAME' -Confirm:$false

But,the following error occurs:

set-vm : 2019/09/18 12:12:22    Set-VM          The method is disabled by 'vShield_SVM'

+ set-vm AO-AEC-TEST-AECPFM-RT-0 -name '000001-TEST-AECPFM-RT-0'

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Set-VM], MethodDisabled

    + FullyQualifiedErrorId : Client20_VmServiceImpl_NewVM_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.SetVM

thank's

Tags (2)
0 Kudos
1 Reply
LucD
Leadership
Leadership

The NSX Manager is locking the configuration of those VMs.

Afaik you can't change that outside of NSX.

Unless you want to go the "unsupported" path, like in for example Editing uneditable VMs in vCenter


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

0 Kudos