Skip to content

Shutdown and Restart-Computer help on non-Windows needs correction #12051

@jdhitsolutions

Description

@jdhitsolutions

Type of issue

Other (describe below)

Feedback

On non-Windows systems, Restart-Computer and Stop-Computer call native commands to implement the action. Parameters like Computername and Credential don't apply. The command on non-Windows systems doesn't have these parameters, yet the help documentation shows them. Help for Restart-Computer and Stop-Computer should be reflect the correct syntax.

Page URL

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-computer?view=powershell-7.5

Content source URL

https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Management/Stop-Computer.md

Author

@sdwheeler

Platform Id

b76cd51c-14d3-6f5d-4d4c-8e47a1283e61

Document Id

2bfeb6d5-8ede-cf5a-1465-71337eefdbbe

Metadata

Metadata

Assignees

Labels

area-managementArea - Microsoft.PowerShell.Management module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions