LucD
Leadership
Leadership

Without actually measuring these three, I have no clue if any of these would stick out as being faster.

What I would look at is to use the possibility of the Set-NetworkAdapter cmdlet to accept multiple values (an array) on the NetworkAdapter parameter.

So perhaps collect all of the NetworkAdapter objects for a specific portgroup, and then change them with one call to Set-NetworkAdapter.


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

View solution in original post

Reply
0 Kudos