Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Using PowerShell to Move a Group of Computers

$
0
0

Hi All,

I am new to PowerShell and have been asked to move a group of computers (that haven't been used in a while) to a different OU, and was hoping for some direction. My first thought was to export to a csv file, and then import by computer name. Here's my first command:

get-qadcomputer -InactiveFor 365 | export-csv Test.csv

How can I read-in that list of computer names and move these into a different OU? Any feedback/help would be greatly appreciated!


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>