About 24,000 results
Open links in new tab
  1. Restart a computer at a given time with PowerShell - Super User

    I'm looking for a way to restart a computer with PowerShell (Restart-Computer), at a given time (Example: 03:00AM). The PS-Script itself will run at a random time, when the user executes it, …

  2. powershell - Is `Restart-Computer -Force` equivalent to `shutdown …

    Sep 11, 2024 · Restart-Computer -Force does more than set the timer to zero (the linked issue is only for the macOS version of powershell). You can verify this by attempting to restart while a …

  3. powershell - Using "restart-computer" Cmdlet for remote …

    Nov 7, 2023 · I want to reboot several computers remotely using PowerShell and wait until the reboot is completed, before continuing the script. I've stumbled across the "restart-computer" …

  4. Reboot Windows 10 PC remotely - Super User

    Feb 11, 2016 · 1. Open Powershell on your host computer 2. Type this Restart-Computer remote-ip -Force -Credential domain\username 3. Enter password

  5. Restart computer in Pending Reboot Status with no user logged in

    PowerShell Help Levio April 18, 2022, 4:16pm 1 I am working on combining 2 scripts to check if a computer is on pending reboot and restart it if there is no user logged in.

  6. PowerShell - Restart-Computer doesn't work as scheduled task

    Sep 27, 2016 · 3 I have a Windows Server 2012 R2 (PowerShell 4). There is a ps1 file with a PowerShell script, which contains among other things the command restart-computer. I also …

  7. Automating installing all Windows Updates and restart right now

    Mar 5, 2021 · The PowerShell method uses the following commands as Administrator: Install Windows Update Module (one time command) : Install-Module PSWindowsUpdate Check and …

  8. Restart-service fails - PowerShell Help - PowerShell Forums

    Feb 8, 2023 · execution The account you are running is allowed to remote powershell because you can get all services. 01.) Did you start powershell as admin when running the restart …

  9. Reboot the server at a given date and time - Super User

    Jan 7, 2023 · I need to get this automated and not have to run it manually. I have tried SCHTasks but the client does not accept and needs a PowerShell script I think in order to achieve it so I …

  10. Windows remote shutdown: access denied - Super User

    Mar 21, 2012 · Now you need to disable user account control (UAC) because it blocks the shutdown command. Last thing is to enable remote desktop from local policies user right …