diff --git a/PS/pLastBoot.ps1 b/PS/pLastBoot.ps1 index 1e24999..a07f92b 100644 --- a/PS/pLastBoot.ps1 +++ b/PS/pLastBoot.ps1 @@ -4,7 +4,7 @@ foreach ($computer in $computers) { if (Test-Connection $computer -Quiet){ $wmi = Get-WmiObject -Class win32_OperatingSystem -ComputerName $computer if (($wmi.ConvertToDateTime($wmi.LocalDateTime) - $wmi.ConvertToDateTime($wmi.LastBootUpTime)).Days -gt 6){ - Start-Process "cmd.exe" "/c C:\Scripts\Base\tmessageH.bat RebootTheServer" + Start-Process "cmd.exe" "/c C:\Scripts\wBase\Msg\tmessageH.bat RebootTheServer" } } } \ No newline at end of file