I have a script that I wrote to pull PC names from a csv file, disable them, modify the description then move them to a specified OU. I'm running into a small issue. For instance, I have a PC named desktop1 that I want to disable and move. It's also moving desktop10, desktop11, etc.
I'm using the following command:
Get-QADComputer $ComputerID | Move-QADObject -NewParentContainer $DisabledOU
Is there an easy way to tell it to only copy desktop1 instead of searching for all pcs with that string in the name?