From 53f0c011b5bb8c389833406be6d9eb90b93e06d5 Mon Sep 17 00:00:00 2001 From: ehmiiz Date: Fri, 6 Oct 2023 09:14:24 +0200 Subject: [PATCH] Edited PSRemoting cmdlets example style --- .../Microsoft.PowerShell.Core/Disable-PSRemoting.md | 12 ++++++------ .../Microsoft.PowerShell.Core/Enable-PSRemoting.md | 4 ++-- .../Microsoft.PowerShell.Core/Disable-PSRemoting.md | 12 ++++++------ .../Microsoft.PowerShell.Core/Enable-PSRemoting.md | 4 ++-- .../Microsoft.PowerShell.Core/Disable-PSRemoting.md | 12 ++++++------ .../Microsoft.PowerShell.Core/Enable-PSRemoting.md | 4 ++-- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/reference/7.2/Microsoft.PowerShell.Core/Disable-PSRemoting.md b/reference/7.2/Microsoft.PowerShell.Core/Disable-PSRemoting.md index 53167c43c528..e783aa3b2587 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/Disable-PSRemoting.md +++ b/reference/7.2/Microsoft.PowerShell.Core/Disable-PSRemoting.md @@ -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 @@ -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 @@ -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 diff --git a/reference/7.2/Microsoft.PowerShell.Core/Enable-PSRemoting.md b/reference/7.2/Microsoft.PowerShell.Core/Enable-PSRemoting.md index e7ca61ec83a5..0098ff639596 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/Enable-PSRemoting.md +++ b/reference/7.2/Microsoft.PowerShell.Core/Enable-PSRemoting.md @@ -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 @@ -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 diff --git a/reference/7.3/Microsoft.PowerShell.Core/Disable-PSRemoting.md b/reference/7.3/Microsoft.PowerShell.Core/Disable-PSRemoting.md index 322137c9c2d4..aac9ff2559c4 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/Disable-PSRemoting.md +++ b/reference/7.3/Microsoft.PowerShell.Core/Disable-PSRemoting.md @@ -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 @@ -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 @@ -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 diff --git a/reference/7.3/Microsoft.PowerShell.Core/Enable-PSRemoting.md b/reference/7.3/Microsoft.PowerShell.Core/Enable-PSRemoting.md index 14ba92001dad..17974ec2ce2c 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/Enable-PSRemoting.md +++ b/reference/7.3/Microsoft.PowerShell.Core/Enable-PSRemoting.md @@ -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 @@ -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 diff --git a/reference/7.4/Microsoft.PowerShell.Core/Disable-PSRemoting.md b/reference/7.4/Microsoft.PowerShell.Core/Disable-PSRemoting.md index 97e3ee3c25cf..35dc718d4495 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/Disable-PSRemoting.md +++ b/reference/7.4/Microsoft.PowerShell.Core/Disable-PSRemoting.md @@ -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 @@ -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 @@ -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 diff --git a/reference/7.4/Microsoft.PowerShell.Core/Enable-PSRemoting.md b/reference/7.4/Microsoft.PowerShell.Core/Enable-PSRemoting.md index 850f025f01e2..f2ec88fed102 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/Enable-PSRemoting.md +++ b/reference/7.4/Microsoft.PowerShell.Core/Enable-PSRemoting.md @@ -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 @@ -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