RabbieBurns Posted March 15, 2017 Posted March 15, 2017 Been struggling with this for a few hours and hoping someone can help I have created a whole bunch of VirtualPortGroups on a vswitch I need to enable Promiscious mode for all of them Ive done New-VirtualPortGroup -VirtualSwitch vSwitch1 -Name Student4-LAN3 to make them then Get-VirtualPortGroup -Name "Student4-LAN3" | Set-VirtualPortGroup -VLanId 403 to set VlanIDs and now im trying to enable promiscious mode on these using Get-VirtualPortgroup -Name "Instructor-LAN1" | Get-SecurityPolicy | Set-SecurityPolicy -AllowPromiscuous $true but thats not correct, even though it looks correct from here https://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FSet-SecurityPolicy.html Does anyone know PowerCli a bit better than I do that could help please
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now