I want to pass arguments in power shell
I want run my below power shell script
$computers = $args
Install-WindowsUpdate -ComputerName $computers -ForceReboot
i have saved the script as test.ps1
now i want to the command as test.ps1 win-xyz.testlab.com in Powershell through oo .
How can i achive this through OO
Any help is highly appreciated .