Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
QuickFix
0.3.1
Remote_Reboot_Machines.ps1
function
Remote-RebootMachine
{
param
(
[string]
$ComputerName
)
Restart-Computer
-ComputerName
$ComputerName
-Force
Write-Host
"$ComputerName has been rebooted."
}