PowerShell Script to move Hyper-V Hosts to special OU and add them to group

Hi,

as another part of my deployment scripts, I developed a small script that does following tasks.

  1. Moves all Hosts with *SVR-HV* from Computers to Hyper-V OU
  2. Creates Group for Hosts
  3. Adds Hosts to group

 

Tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.