Hello everyone,
I am trying to fasten / automate some of my administrative workflows with powershell and windows server.
I do not really understand how computer names from a powershell command actually get handed over to the script itself.
For example:
A simple one liner powershell script with content “Get-Hotfix” works for several computers that are in the “computer name” field:
Other commands like “Restart-Computer” do not work at all using this method.
Gues I will use the parameters then. But why does it work sometimes and sometimes not? Can you share some insight on this implementation?
Best regards,
Manuel

