Reboot a PC list


i thought simple command, need assistance please. trying reboot/restart multiple pc's text file using ps command...

ps c:\>restart-computer (get-content c:\wsus\task\train1wol.txt)

hoping pull names of pc's listed text file, receive several error messages. can point me in correct direction or need more info run on windows 2008r2 running latest version of powershell? in advance.




Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

directory stack

PowerShell List