Automation

 View Only
  • 1.  Set-securitypolicy for Mac address changes

    Posted May 21, 2014 02:04 AM

    Hi

    Any idea why this simple command doesnt work?!

    get-virtualswitch -Name "vSwitch0" | Get-SecurityPolicy | Set-SecurityPolicy -MacChanges $false

    The error message says Get-securitypolicy command doesnt exist



  • 2.  RE: Set-securitypolicy for Mac address changes

    Posted May 21, 2014 05:35 AM

    Which PowerCLI build are you using ?

    Do a

    Get-PowerCLIVersion

    These cmdlets were introduced in PowerCLI 5.5 Release 2 build 1671586



  • 3.  RE: Set-securitypolicy for Mac address changes

    Posted May 21, 2014 06:02 AM


    5.1 release 2 build 1012425



  • 4.  RE: Set-securitypolicy for Mac address changes

    Posted May 21, 2014 06:13 AM

    Please upgrade to the latest build to have those cmdlets.



  • 5.  RE: Set-securitypolicy for Mac address changes

    Posted May 21, 2014 06:19 AM

    Unfortunately I cant upgrade powercli. Is there a way of disabling MAC address changes using 5.0 release 2 Powercli?



  • 6.  RE: Set-securitypolicy for Mac address changes

    Posted May 21, 2014 07:51 AM