Skip to content

Commit

Permalink
Edited PSRemoting cmdlets example style
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmiiz committed Oct 6, 2023
1 parent 2c52ca9 commit 53f0c01
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
12 changes: 6 additions & 6 deletions reference/7.2/Microsoft.PowerShell.Core/Disable-PSRemoting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/09/2022
ms.date: 10/06/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/disable-psremoting?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Disable-PSRemoting
Expand Down Expand Up @@ -149,11 +149,11 @@ configurations as long as they are connecting locally (also known as loopback) a
credentials.

```powershell
Disable-PSRemoting -force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Disable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
Enable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
```

```Output
Expand Down Expand Up @@ -433,10 +433,10 @@ the configuration.

```powershell
Disable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
Set-PSSessionConfiguration -Name PowerShell.6 -AccessMode Remote -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
```

```Output
Expand Down
4 changes: 2 additions & 2 deletions reference/7.2/Microsoft.PowerShell.Core/Enable-PSRemoting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/09/2022
ms.date: 10/06/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Enable-PSRemoting
Expand Down Expand Up @@ -120,7 +120,7 @@ Use `Get-NetFirewallRule` to see a list of rules. Before enabling the firewall r
security settings in the rule to verify that the configuration is appropriate for your environment.

```powershell
Get-NetFirewallRule -Name 'WINRM*' | Select-Object Name
Get-NetFirewallRule -Name 'WINRM*' | Select-Object -Property Name
```

```Output
Expand Down
12 changes: 6 additions & 6 deletions reference/7.3/Microsoft.PowerShell.Core/Disable-PSRemoting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/09/2022
ms.date: 10/06/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/disable-psremoting?view=powershell-7.3&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Disable-PSRemoting
Expand Down Expand Up @@ -149,11 +149,11 @@ configurations as long as they are connecting locally (also known as loopback) a
credentials.

```powershell
Disable-PSRemoting -force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Disable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
Enable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
```

```Output
Expand Down Expand Up @@ -433,10 +433,10 @@ the configuration.

```powershell
Disable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
Set-PSSessionConfiguration -Name PowerShell.6 -AccessMode Remote -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
```

```Output
Expand Down
4 changes: 2 additions & 2 deletions reference/7.3/Microsoft.PowerShell.Core/Enable-PSRemoting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/09/2022
ms.date: 10/06/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.3&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Enable-PSRemoting
Expand Down Expand Up @@ -120,7 +120,7 @@ Use `Get-NetFirewallRule` to see a list of rules. Before enabling the firewall r
security settings in the rule to verify that the configuration is appropriate for your environment.

```powershell
Get-NetFirewallRule -Name 'WINRM*' | Select-Object Name
Get-NetFirewallRule -Name 'WINRM*' | Select-Object -Property Name
```

```Output
Expand Down
12 changes: 6 additions & 6 deletions reference/7.4/Microsoft.PowerShell.Core/Disable-PSRemoting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/09/2022
ms.date: 10/06/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/disable-psremoting?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Disable-PSRemoting
Expand Down Expand Up @@ -149,11 +149,11 @@ configurations as long as they are connecting locally (also known as loopback) a
credentials.

```powershell
Disable-PSRemoting -force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Disable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
Enable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
```

```Output
Expand Down Expand Up @@ -433,10 +433,10 @@ the configuration.

```powershell
Disable-PSRemoting -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
Set-PSSessionConfiguration -Name PowerShell.6 -AccessMode Remote -Force
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -Auto
Get-PSSessionConfiguration | Format-Table -Property Name, Permission -AutoSize
```

```Output
Expand Down
4 changes: 2 additions & 2 deletions reference/7.4/Microsoft.PowerShell.Core/Enable-PSRemoting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/09/2022
ms.date: 10/06/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Enable-PSRemoting
Expand Down Expand Up @@ -120,7 +120,7 @@ Use `Get-NetFirewallRule` to see a list of rules. Before enabling the firewall r
security settings in the rule to verify that the configuration is appropriate for your environment.

```powershell
Get-NetFirewallRule -Name 'WINRM*' | Select-Object Name
Get-NetFirewallRule -Name 'WINRM*' | Select-Object -Property Name
```

```Output
Expand Down

0 comments on commit 53f0c01

Please sign in to comment.