Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/3.0/Microsoft.PowerShell.Core/Invoke-Command.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ PS> Invoke-Command -ConnectionUri https://ps.exchangelabs.com/PowerShell -Script

This command shows how to use the **AllowRedirection** and **SessionOption** parameters to manage URI redirection in a remote command.

The first command uses the New-PSSessionOption cmdlet to create a **PSSessionOpption** object that it saves in the $Max variable.
The first command uses the New-PSSessionOption cmdlet to create a **PSSessionOption** object that it saves in the $Max variable.
The command uses the **MaximumRedirection** parameter to set the **MaximumConnectionRedirectionCount** property of the **PSSessionOption** object to 1.

The second command uses the **Invoke-Command** cmdlet to run a **Get-Mailbox** command on a remote server running Microsoft Exchange Server.
Expand All @@ -387,7 +387,7 @@ PS> Invoke-Command -ComputerName server01 -UseSSL -ScriptBlock { Get-Hotfix } -S

This example shows how to create and use a SessionOption parameter.

The first command uses the New-PSSessionOption cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Cannonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
The first command uses the New-PSSessionOption cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Canonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
It saves the resulting **SessionOption** object in the $so parameter.

The second command uses the **Invoke-Command** cmdlet to run a Get-HotFix command remotely.
Expand Down
4 changes: 2 additions & 2 deletions reference/4.0/Microsoft.PowerShell.Core/Invoke-Command.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ PS C:\> Invoke-Command -ConnectionUri https://ps.exchangelabs.com/PowerShell -Sc

This command shows how to use the **AllowRedirection** and **SessionOption** parameters to manage URI redirection in a remote command.

The first command uses the New-PSSessionOption cmdlet to create a **PSSessionOpption** object that it saves in the $Max variable.
The first command uses the New-PSSessionOption cmdlet to create a **PSSessionOption** object that it saves in the $Max variable.
The command uses the **MaximumRedirection** parameter to set the **MaximumConnectionRedirectionCount** property of the **PSSessionOption** object to 1.

The second command uses the **Invoke-Command** cmdlet to run a **Get-Mailbox** command on a remote server running Microsoft Exchange Server.
Expand All @@ -365,7 +365,7 @@ PS C:\> Invoke-Command -ComputerName server01 -UseSSL -ScriptBlock { Get-Hotfix

This example shows how to create and use a SessionOption parameter.

The first command uses the New-PSSessionOption cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Cannonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
The first command uses the New-PSSessionOption cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Canonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
It saves the resulting **SessionOption** object in the $so parameter.

The second command uses the **Invoke-Command** cmdlet to run a Get-HotFix command remotely.
Expand Down
4 changes: 2 additions & 2 deletions reference/5.0/Microsoft.PowerShell.Core/Invoke-Command.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ PS C:\> Invoke-Command -ConnectionUri https://ps.exchangelabs.com/PowerShell -Sc

This command shows how to use the *AllowRedirection* and *SessionOption* parameters to manage URI redirection in a remote command.

The first command uses the **New-PSSessionOption** cmdlet to create a **PSSessionOpption** object that it saves in the $Max variable.
The first command uses the **New-PSSessionOption** cmdlet to create a **PSSessionOption** object that it saves in the $Max variable.
The command uses the *MaximumRedirection* parameter to set the **MaximumConnectionRedirectionCount** property of the **PSSessionOption** object to 1.

The second command uses the **Invoke-Command** cmdlet to run a **Get-Mailbox** command on a remote server that runs Microsoft Exchange Server.
Expand All @@ -393,7 +393,7 @@ PS C:\> Invoke-Command -ComputerName server01 -UseSSL -ScriptBlock { Get-HotFix

This example shows how to create and use a *SessionOption* parameter.

The first command uses the **New-PSSessionOption** cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Cannonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
The first command uses the **New-PSSessionOption** cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Canonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
It saves the resulting SessionOption object in the $so parameter.

The second command uses the **Invoke-Command** cmdlet to run a Get-HotFix command remotely.
Expand Down
4 changes: 2 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Invoke-Command.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ PS C:\> Invoke-Command -ConnectionUri https://ps.exchangelabs.com/PowerShell -Sc

This command shows how to use the *AllowRedirection* and *SessionOption* parameters to manage URI redirection in a remote command.

The first command uses the **New-PSSessionOption** cmdlet to create a **PSSessionOpption** object that it saves in the $Max variable.
The first command uses the **New-PSSessionOption** cmdlet to create a **PSSessionOption** object that it saves in the $Max variable.
The command uses the *MaximumRedirection* parameter to set the **MaximumConnectionRedirectionCount** property of the **PSSessionOption** object to 1.

The second command uses the **Invoke-Command** cmdlet to run a **Get-Mailbox** command on a remote server that runs Microsoft Exchange Server.
Expand All @@ -408,7 +408,7 @@ PS C:\> Invoke-Command -ComputerName server01 -UseSSL -ScriptBlock { Get-HotFix

This example shows how to create and use a *SessionOption* parameter.

The first command uses the **New-PSSessionOption** cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Cannonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
The first command uses the **New-PSSessionOption** cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Canonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
It saves the resulting SessionOption object in the $so parameter.

The second command uses the **Invoke-Command** cmdlet to run a Get-HotFix command remotely.
Expand Down
4 changes: 2 additions & 2 deletions reference/6/Microsoft.PowerShell.Core/Invoke-Command.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ PS C:\> Invoke-Command -ConnectionUri https://ps.exchangelabs.com/PowerShell -Sc

This command shows how to use the *AllowRedirection* and *SessionOption* parameters to manage URI redirection in a remote command.

The first command uses the **New-PSSessionOption** cmdlet to create a **PSSessionOpption** object that it saves in the $Max variable.
The first command uses the **New-PSSessionOption** cmdlet to create a **PSSessionOption** object that it saves in the $Max variable.
The command uses the *MaximumRedirection* parameter to set the **MaximumConnectionRedirectionCount** property of the **PSSessionOption** object to 1.

The second command uses the **Invoke-Command** cmdlet to run a **Get-Mailbox** command on a remote server that runs Microsoft Exchange Server.
Expand All @@ -472,7 +472,7 @@ PS C:\> Invoke-Command -ComputerName server01 -UseSSL -ScriptBlock { Get-HotFix

This example shows how to create and use a *SessionOption* parameter.

The first command uses the **New-PSSessionOption** cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Cannonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
The first command uses the **New-PSSessionOption** cmdlet to create session options. These options cause the remote end not to verify the Certificate Authority, Canonical Name and Revocation Lists while evaluating the incoming HTTPS connection (disabling these checks is convenient for troubleshooting, but obviously not secure).
It saves the resulting SessionOption object in the $so parameter.

The second command uses the **Invoke-Command** cmdlet to run a Get-HotFix command remotely.
Expand Down