About 50 results
Open links in new tab
  1. powershell - how to restart (planned) a computer? - Stack Overflow

    Oct 24, 2018 · Restart-Computer is the command but the thing is i have two types of restarts on the server: planned unplanned how can i specify the type so that its something like:

  2. powershell - Is `Restart-Computer -Force` equivalent to `shutdown /r /t ...

    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 user is …

  3. 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, so it's …

  4. Powershell - Reboot and Continue Script - Stack Overflow

    Mar 1, 2013 · I'm looking for a way to continue a Powershell script from where it left off after calling a reboot in the script. For example, I am building a DC via Powershell automation, and after renaming …

  5. powershell - Using "restart-computer" Cmdlet for remote computers …

    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" cmdlet and its …

  6. Cannot Reboot Windows 2019 Server Using Powershell: Privilege not …

    Aug 1, 2023 · I am using Task Till Dawn and tried using its built-in Restart and tried to run powershell script with it but it won't work either. Anybody know how to automatically reboot a Windows 2019 …

  7. powershell - Restart-Computer Access Denied Error - Stack Overflow

    Oct 6, 2017 · 0 I'm currently creating a PowerShell script who need to be able to rename computer name:

  8. powershell - restart computer on all hosts at the same time - Stack ...

    Dec 12, 2017 · Unless you have a negligible number of hosts you most definitely do NOT want to restart all computers (virtual or physical) at the same time. It'd put a huge strain on the host operating …

  9. Using PowerShell credentials without being prompted for a password

    Jun 5, 2011 · I'd like to restart a remote computer that belongs to a domain. I have an administrator account but I don't know how to use it from powershell. I know that there is a Restart-Computer …

  10. Powershell Workflow to reboot computers - Stack Overflow

    You can try the Restart-Computer cmdlet with the -Protocol WSMan parameter instead of the default DCOM over RPC protocol (-Protocol DCOM). This would confirm that your RPC network packets are …