Skip to content

Commit dfcce35

Browse files
sdwheelerDCtheGeek
authored andcommitted
Fix #2652 - add WinRM/WMI requirement note (#4888)
1 parent a9a1bcf commit dfcce35

File tree

6 files changed

+30
-24
lines changed

6 files changed

+30
-24
lines changed

reference/3.0/Microsoft.PowerShell.Management/Restart-Computer.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,11 @@ output is generated.
526526

527527
## NOTES
528528

529-
`Restart-Computer` uses the
530-
[Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
531-
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
532-
class.
529+
- `Restart-Computer` only work on computers running Windows and requires WinRM and WMI to shutdown a
530+
system, including the local system.
531+
- `Restart-Computer` uses the [Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
532+
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
533+
class.
533534

534535
In Windows PowerShell 2.0, the **AsJob** parameter doesn't work reliably when you are restarting or
535536
stopping remote computers. In Windows PowerShell 3.0, the implementation is changed to resolve this

reference/4.0/Microsoft.PowerShell.Management/Restart-Computer.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,11 @@ output is generated.
526526

527527
## NOTES
528528

529-
`Restart-Computer` uses the
530-
[Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
531-
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
532-
class.
529+
- `Restart-Computer` only work on computers running Windows and requires WinRM and WMI to shutdown a
530+
system, including the local system.
531+
- `Restart-Computer` uses the [Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
532+
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
533+
class.
533534

534535
In Windows PowerShell 2.0, the **AsJob** parameter doesn't work reliably when you are restarting or
535536
stopping remote computers. In Windows PowerShell 3.0, the implementation is changed to resolve this

reference/5.0/Microsoft.PowerShell.Management/Restart-Computer.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,10 +528,11 @@ output is generated.
528528

529529
## NOTES
530530

531-
`Restart-Computer` uses the
532-
[Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
533-
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
534-
class.
531+
- `Restart-Computer` only work on computers running Windows and requires WinRM and WMI to shutdown a
532+
system, including the local system.
533+
- `Restart-Computer` uses the [Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
534+
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
535+
class.
535536

536537
In Windows PowerShell 2.0, the **AsJob** parameter doesn't work reliably when you are restarting or
537538
stopping remote computers. In Windows PowerShell 3.0, the implementation is changed to resolve this

reference/5.1/Microsoft.PowerShell.Management/Restart-Computer.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,10 +528,11 @@ output is generated.
528528

529529
## NOTES
530530

531-
`Restart-Computer` uses the
532-
[Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
533-
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
534-
class.
531+
- `Restart-Computer` only work on computers running Windows and requires WinRM and WMI to shutdown a
532+
system, including the local system.
533+
- `Restart-Computer` uses the [Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
534+
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
535+
class.
535536

536537
In Windows PowerShell 2.0, the **AsJob** parameter doesn't work reliably when you are restarting or
537538
stopping remote computers. In Windows PowerShell 3.0, the implementation is changed to resolve this

reference/6/Microsoft.PowerShell.Management/Restart-Computer.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
363363

364364
## NOTES
365365

366-
`Restart-Computer` uses the
367-
[Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
368-
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
369-
class.
366+
- `Restart-Computer` only work on computers running Windows and requires WinRM and WMI to shutdown a
367+
system, including the local system.
368+
- `Restart-Computer` uses the [Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
369+
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
370+
class.
370371

371372
## RELATED LINKS
372373

reference/7/Microsoft.PowerShell.Management/Restart-Computer.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
363363

364364
## NOTES
365365

366-
`Restart-Computer` uses the
367-
[Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
368-
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
369-
class.
366+
- `Restart-Computer` only work on computers running Windows and requires WinRM and WMI to shutdown a
367+
system, including the local system.
368+
- `Restart-Computer` uses the [Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
369+
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
370+
class.
370371

371372
## RELATED LINKS
372373

0 commit comments

Comments
 (0)