Skip to content

Commit

Permalink
Minor tweaks (MicrosoftDocs#2948)
Browse files Browse the repository at this point in the history
* Minor tweaks

1. In three cases, I specified that although the parameter accepts a "Default" value, this value is not the default value for the cmdlet.
2. Fixed several formatting artefact. For example, in the Impersonation section, I replaced a " --" (clearly a typo) with a bullet.

* fixing PlatyPS schema errors

* Fixing schema error - 2nd try
  • Loading branch information
skycommand authored and sdwheeler committed Sep 24, 2018
1 parent 8f3625d commit 9940d71
Showing 1 changed file with 21 additions and 36 deletions.
57 changes: 21 additions & 36 deletions reference/5.1/Microsoft.PowerShell.Management/Restart-Computer.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,22 +200,14 @@ Accept wildcard characters: False
Specifies the authentication level that is used for the WMI connection.
The acceptable values for this parameter are:
- Call.
Call-level COM authentication
- Connect.
Connect-level COM authentication
- Default.
Windows Authentication
- None.
No COM authentication
- Packet.
Packet-level COM authentication
- PacketIntegrity.
Packet Integrity-level COM authentication
- PacketPrivacy.
Packet Privacy-level COM authentication
- Unchanged.
The authentication level is the same as the previous command
- Call: Call-level COM authentication
- Connect: Connect-level COM authentication
- Default: WMI's default settings (Windows authentication); despite its name, this item is not default value of this cmdlet
- None: No COM authentication
- Packet: Packet-level COM authentication
- PacketIntegrity: Packet Integrity-level COM authentication
- PacketPrivacy: Packet Privacy-level COM authentication
- Unchanged: The authentication level is the same as the previous command
The default value is Packet.
Expand Down Expand Up @@ -263,14 +255,10 @@ This parameter is valid only with the *Wait* parameter.
The acceptable values for this parameter are:
- Default.
Waits for Windows PowerShell to restart.
- PowerShell.
Can run commands in a Windows PowerShell remote session on the computer.
- WMI.
Receives a reply to a Win32_ComputerSystem query for the computer.
- WinRM.
Can establish a remote session to the computer by using WS-Management.
- Default: Waits for Windows PowerShell to restart.
- PowerShell: Can run commands in a Windows PowerShell remote session on the computer.
- WMI: Receives a reply to a Win32_ComputerSystem query for the computer.
- WinRM: Can establish a remote session to the computer by using WS-Management.
This parameter was introduced in Windows PowerShell 3.0.
Expand Down Expand Up @@ -307,14 +295,10 @@ Specifies the impersonation level that this cmdlet uses to call WMI.
**Restart-Computer** uses WMI.
The acceptable values for this parameter are:
-- Default.
Default impersonation.
- Anonymous.
Hides the identity of the caller.
- Identify.
Allows objects to query the credentials of the caller.
- Impersonate.
Allows objects to use the credentials of the caller.
- Default: Default impersonation. Despite the name, this item is not the default value for this cmdlet.
- Anonymous: Hides the identity of the caller.
- Identify: Allows objects to query the credentials of the caller.
- Impersonate: Allows objects to use the credentials of the caller.
The default value is Impersonate.
Expand Down Expand Up @@ -461,7 +445,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## INPUTS
### System.String
You can pipe computer names to this cmdlet..
You can pipe computer names to this cmdlet.
In Windows PowerShell 2.0, the *ComputerName* parameter takes input from the pipeline only by property name.
In Windows PowerShell 3.0, the *ComputerName* parameter takes input from the pipeline by value.
Expand All @@ -473,8 +457,9 @@ This cmdlet returns a job object, if you specify the *AsJob* parameter.
Otherwise, it does not generate any output.
## NOTES
* This cmdlet uses the **Win32Shutdown** method of the WMI **WIN32_OperatingSystem** class.
* In Windows PowerShell 2.0, *AsJob* does not work reliably when you are restarting/stopping remote computers. In Windows PowerShell 3.0, the implementation is changed to resolve this problem.
This cmdlet uses the **Win32Shutdown** method of the WMI **WIN32_OperatingSystem** class.
In Windows PowerShell 2.0, *AsJob* does not work reliably when you are restarting/stopping remote computers. In Windows PowerShell 3.0, the implementation is changed to resolve this problem.
## RELATED LINKS
Expand All @@ -490,4 +475,4 @@ Otherwise, it does not generate any output.
[Stop-Computer](Stop-Computer.md)
[Test-Connection](Test-Connection.md)
[Test-Connection](Test-Connection.md)

0 comments on commit 9940d71

Please sign in to comment.