About 28,600 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 - 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 …

  3. Cannot Reboot Windows 2019 Server Using Powershell: Privilege …

    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 …

  4. 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 …

  5. Workflow: Restart PC, wait for powershell, execute commands

    Jul 13, 2023 · Creating a script to restart devices on a specific network and add some notification or iteration variable that lets me know they have been restarted and powershell is available to …

  6. powershell - Is there a way to warn remote computer of pending …

    Why not run invoke-command on the computers you intend to restart to show the pending restart message with msg.exe? Then just run restart-computer as you have in the question. Invoke …

  7. Using PowerShell credentials without being prompted for a …

    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 …

  8. powershell - restart-computer with logs or result - Stack Overflow

    Feb 9, 2024 · I need to restart 5 or 6 computers at the same time. It works nice with the command restart-computer. But I want to add -wait to be sure each server has restarted. So, of course, I …

  9. powershell - Invoke-command on remote computer with reboot

    Feb 12, 2020 · Restart-Computer -Wait -For PowerShell -Timeout 300 -Delay 2 I also tried to just have the following, this restarts the VM but also stops the Powershell session and does not …

  10. powershell - Returning success and then restarting computer

    Aug 7, 2018 · 2 This will host a seperate command prompt that runs async from the powershell script and restarts the computer in 3 seconds, enough time for powershell to return the exit …