From f83fe348b26b6a966b163c9650270dce14959637 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Wed, 25 Sep 2019 18:02:44 -0400 Subject: [PATCH 01/14] Update Revoke-SmbShareAccess.md Corrected Syntax --- docset/winserver2012-ps/smbshare/Revoke-SmbShareAccess.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docset/winserver2012-ps/smbshare/Revoke-SmbShareAccess.md b/docset/winserver2012-ps/smbshare/Revoke-SmbShareAccess.md index 355a780ca7..7e4e31be47 100644 --- a/docset/winserver2012-ps/smbshare/Revoke-SmbShareAccess.md +++ b/docset/winserver2012-ps/smbshare/Revoke-SmbShareAccess.md @@ -16,13 +16,13 @@ Removes all of the allow access control entries (ACEs) for a trustee from the se ## SYNTAX -### UNNAMED_PARAMETER_SET_1 +### Query ``` Revoke-SmbShareAccess [-Name] [[-ScopeName] ] [-AccountName ] [-AsJob] [-CimSession ] [-Force] [-ThrottleLimit ] [-Confirm] [-WhatIf] ``` -### UNNAMED_PARAMETER_SET_2 +### InputObject (cdxml) ``` Revoke-SmbShareAccess [-AccountName ] [-AsJob] [-CimSession ] [-Force] [-ThrottleLimit ] -InputObject [-Confirm] [-WhatIf] From dfb496e324e4b22f4a6e734e11e0a53d7b1757e0 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Wed, 25 Sep 2019 18:05:19 -0400 Subject: [PATCH 02/14] Update Remove-SmbShare.md Corrected syntax --- docset/winserver2012-ps/smbshare/Remove-SmbShare.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docset/winserver2012-ps/smbshare/Remove-SmbShare.md b/docset/winserver2012-ps/smbshare/Remove-SmbShare.md index 530e8bdfc5..7da929fcb0 100644 --- a/docset/winserver2012-ps/smbshare/Remove-SmbShare.md +++ b/docset/winserver2012-ps/smbshare/Remove-SmbShare.md @@ -16,13 +16,13 @@ Deletes the specified Server Message Block (SMB) shares. ## SYNTAX -### UNNAMED_PARAMETER_SET_1 +### Query ``` Remove-SmbShare [-Name] [[-ScopeName] ] [-AsJob] [-CimSession ] [-Force] [-PassThru] [-ThrottleLimit ] [-Confirm] [-WhatIf] ``` -### UNNAMED_PARAMETER_SET_2 +### InputObject (cdxml) ``` Remove-SmbShare [-AsJob] [-CimSession ] [-Force] [-PassThru] [-ThrottleLimit ] -InputObject [-Confirm] [-WhatIf] From a3979fc9e7262a9be4b44d97af264ef874c50164 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Wed, 25 Sep 2019 18:27:54 -0400 Subject: [PATCH 03/14] Update Revoke-SmbShareAccess.md added SMb instance --- .../smbshare/Revoke-SmbShareAccess.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docset/winserver2012-ps/smbshare/Revoke-SmbShareAccess.md b/docset/winserver2012-ps/smbshare/Revoke-SmbShareAccess.md index 7e4e31be47..1df4f37c5c 100644 --- a/docset/winserver2012-ps/smbshare/Revoke-SmbShareAccess.md +++ b/docset/winserver2012-ps/smbshare/Revoke-SmbShareAccess.md @@ -173,6 +173,23 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -SmbInstance +Specifies the input to this cmdlet. +You can use this parameter, or you can pipe the input to this cmdlet. + +```yaml +Type: SmbInstance +Parameter Sets: Query +Aliases: +Accepted values: Default, CSV, SBL, SR + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -ThrottleLimit Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of `0` is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. From a1d89f5e85c4cd96798f273f3af56101609cd980 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Wed, 25 Sep 2019 18:33:31 -0400 Subject: [PATCH 04/14] Update Remove-SmbShare.md added SMB instance --- .../smbshare/Remove-SmbShare.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docset/winserver2012-ps/smbshare/Remove-SmbShare.md b/docset/winserver2012-ps/smbshare/Remove-SmbShare.md index 7da929fcb0..9515692f65 100644 --- a/docset/winserver2012-ps/smbshare/Remove-SmbShare.md +++ b/docset/winserver2012-ps/smbshare/Remove-SmbShare.md @@ -167,6 +167,23 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -SmbInstance +Specifies the input to this cmdlet. +You can use this parameter, or you can pipe the input to this cmdlet. + +```yaml +Type: SmbInstance +Parameter Sets: Query +Aliases: +Accepted values: Default, CSV, SBL, SR + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -ThrottleLimit Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of `0` is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. From c6e286ac9c83fbbe0f143949e03bba942f6e044f Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Thu, 26 Sep 2019 17:22:51 -0400 Subject: [PATCH 05/14] Update Revoke-SmbShareAccess.md added a commit to update description for SMB instance on 2012 r2 version --- docset/winserver2012r2-ps/smbshare/Revoke-SmbShareAccess.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docset/winserver2012r2-ps/smbshare/Revoke-SmbShareAccess.md b/docset/winserver2012r2-ps/smbshare/Revoke-SmbShareAccess.md index eb28fc5ebb..b65253ed2c 100644 --- a/docset/winserver2012r2-ps/smbshare/Revoke-SmbShareAccess.md +++ b/docset/winserver2012r2-ps/smbshare/Revoke-SmbShareAccess.md @@ -198,13 +198,14 @@ Accept wildcard characters: False ``` ### -SmbInstance -{{Fill SmbInstance Description}} +Specifies the input to this cmdlet. +You can use this parameter, or you can pipe the input to this cmdlet. ```yaml Type: SmbInstance Parameter Sets: Query Aliases: -Accepted values: Default, CSV +Accepted values: Default, CSV, SBL, SR Required: False Position: Named From c4930c47dab25125ed5f9c35c4c3e854d345da3c Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Thu, 26 Sep 2019 17:25:18 -0400 Subject: [PATCH 06/14] Update Remove-SmbShare.md added a commit to update SMinstance description to 2012 R2 version --- docset/winserver2012r2-ps/smbshare/Remove-SmbShare.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docset/winserver2012r2-ps/smbshare/Remove-SmbShare.md b/docset/winserver2012r2-ps/smbshare/Remove-SmbShare.md index d84be7d48e..a496a82ea3 100644 --- a/docset/winserver2012r2-ps/smbshare/Remove-SmbShare.md +++ b/docset/winserver2012r2-ps/smbshare/Remove-SmbShare.md @@ -192,13 +192,14 @@ Accept wildcard characters: False ``` ### -SmbInstance -{{Fill SmbInstance Description}} +Specifies the input to this cmdlet. +You can use this parameter, or you can pipe the input to this cmdlet. ```yaml Type: SmbInstance Parameter Sets: Query Aliases: -Accepted values: Default, CSV +Accepted values: Default, CSV, SBL, SR Required: False Position: Named From ae97625ce669e48ae881036758884fdf51b01d97 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Thu, 26 Sep 2019 18:28:23 -0400 Subject: [PATCH 07/14] Update Grant-SmbShareAccess.md added syntax, Description for examples and SMB instance --- .../smbshare/Grant-SmbShareAccess.md | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/docset/winserver2012-ps/smbshare/Grant-SmbShareAccess.md b/docset/winserver2012-ps/smbshare/Grant-SmbShareAccess.md index bb293ab3a2..537dde4878 100644 --- a/docset/winserver2012-ps/smbshare/Grant-SmbShareAccess.md +++ b/docset/winserver2012-ps/smbshare/Grant-SmbShareAccess.md @@ -16,14 +16,14 @@ Adds an allow access control entry (ACE) for a trustee to the security descripto ## SYNTAX -### UNNAMED_PARAMETER_SET_1 +### Query ``` Grant-SmbShareAccess [-AccessRight ] [-AccountName ] [-AsJob] [-CimSession ] [-Force] [-ThrottleLimit ] -InputObject [-Confirm] [-WhatIf] ``` -### UNNAMED_PARAMETER_SET_2 +### InputObject (cdxml) ``` Grant-SmbShareAccess [-Name] [[-ScopeName] ] [-AccessRight ] [-AccountName ] [-AsJob] [-CimSession ] [-Force] [-ThrottleLimit ] [-Confirm] @@ -35,14 +35,14 @@ The **Grant-SmbShareAccess** cmdlet adds an allow access control entry (ACE) for ## EXAMPLES -### Example 1 +### Example 1: Adds an allow ACE for a trustee ``` -PS C:\>Grant-SmbShareAccess -Name VMFiles -AccountName Contoso\Contoso-HV2$ -AccessRight Full +PS C:\>Grant-SmbShareAccess -Name "VMFiles" -AccountName "Contoso\Contoso-HV2$" -AccessRight Full Confirm Are you sure you want to perform this action? Performing operation 'Modify' on Target 'Contoso-SO,VMFiles'. [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y - + Name ScopeName AccountName AccessControlType AccessRight ---- --------- ----------- ----------------- ----------- VMFiles Contoso-SO Contoso\Administrator Allow Full @@ -50,12 +50,11 @@ VMFiles Contoso-SO Contoso\Contoso-HV1$ Allow VMFiles Contoso-SO Contoso\Contoso-HV2$ Allow Full ``` -This example adds an allow ACE for a trustee to the security descriptor of the SMB share named VMFiles for the account named Contoso\Contoso-HV2$. +This command adds an allow ACE for a trustee to the security descriptor of the SMB share named VMFiles for the account named Contoso\Contoso-HV2$. -### Example 2 +### Example 2: Adds an allow ACE for a trustee without confirmation ``` PS C:\>Grant-SmbShareAccess -Name VMFiles -AccountName "Contoso\Domain Admins" -AccessRight Change -Force - Name ScopeName AccountName AccessControlType AccessRight ---- --------- ----------- ----------------- ----------- VMFiles Contoso-SO Contoso\Administrator Allow Full @@ -64,7 +63,7 @@ VMFiles Contoso-SO Contoso\Contoso-HV2$ Allow VMFiles Contoso-SO Contoso\Domain Admins Allow Change ``` -This example adds an allow ACE for a trustee to the security descriptor of the SMB share named VMFiles for the account named Contoso\Contoso-HV2$ without user confirmation. +This command adds an allow ACE for a trustee to the security descriptor of the SMB share named VMFiles for the account named Contoso\Contoso-HV2$ without user confirmation. ## PARAMETERS @@ -210,6 +209,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SmbInstance +Specifies the input to this cmdlet. +You can use this parameter, or you can pipe the input to this cmdlet. + +```yaml +Type: SmbInstance +Parameter Sets: Query +Aliases: +Accepted values: Default, CSV, SBL, SR + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. From d7b08d58a448c9bb873993364d63cdf93c3e0d37 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Thu, 26 Sep 2019 18:29:46 -0400 Subject: [PATCH 08/14] Update Grant-SmbShareAccess.md added description for examples and SMB instance --- .../smbshare/Grant-SmbShareAccess.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docset/winserver2012r2-ps/smbshare/Grant-SmbShareAccess.md b/docset/winserver2012r2-ps/smbshare/Grant-SmbShareAccess.md index f992527a34..49e6ef6a5b 100644 --- a/docset/winserver2012r2-ps/smbshare/Grant-SmbShareAccess.md +++ b/docset/winserver2012r2-ps/smbshare/Grant-SmbShareAccess.md @@ -43,14 +43,14 @@ The **Grant-SmbShareAccess** cmdlet adds an allow access control entry (ACE) for ## EXAMPLES -### Example 1 +### Example 1: Adds an allow ACE for a trustee ``` -PS C:\>Grant-SmbShareAccess -Name VMFiles -AccountName Contoso\Contoso-HV2$ -AccessRight Full +PS C:\>Grant-SmbShareAccess -Name "VMFiles" -AccountName "Contoso\Contoso-HV2$" -AccessRight Full Confirm Are you sure you want to perform this action? Performing operation 'Modify' on Target 'Contoso-SO,VMFiles'. [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y - + Name ScopeName AccountName AccessControlType AccessRight ---- --------- ----------- ----------------- ----------- VMFiles Contoso-SO Contoso\Administrator Allow Full @@ -58,12 +58,11 @@ VMFiles Contoso-SO Contoso\Contoso-HV1$ Allow VMFiles Contoso-SO Contoso\Contoso-HV2$ Allow Full ``` -This example adds an allow ACE for a trustee to the security descriptor of the SMB share named VMFiles for the account named Contoso\Contoso-HV2$. +This command adds an allow ACE for a trustee to the security descriptor of the SMB share named VMFiles for the account named Contoso\Contoso-HV2$. -### Example 2 +### Example 2: Adds an allow ACE for a trustee without confirmation ``` PS C:\>Grant-SmbShareAccess -Name VMFiles -AccountName "Contoso\Domain Admins" -AccessRight Change -Force - Name ScopeName AccountName AccessControlType AccessRight ---- --------- ----------- ----------------- ----------- VMFiles Contoso-SO Contoso\Administrator Allow Full @@ -72,7 +71,7 @@ VMFiles Contoso-SO Contoso\Contoso-HV2$ Allow VMFiles Contoso-SO Contoso\Domain Admins Allow Change ``` -This example adds an allow ACE for a trustee to the security descriptor of the SMB share named VMFiles for the account named Contoso\Contoso-HV2$ without user confirmation. +This command adds an allow ACE for a trustee to the security descriptor of the SMB share named VMFiles for the account named Contoso\Contoso-HV2$ without user confirmation. ## PARAMETERS @@ -218,13 +217,14 @@ Accept wildcard characters: False ``` ### -SmbInstance -{{Fill SmbInstance Description}} +Specifies the input to this cmdlet. +You can use this parameter, or you can pipe the input to this cmdlet. ```yaml Type: SmbInstance Parameter Sets: Query Aliases: -Accepted values: Default, CSV +Accepted values: Default, CSV, SBL, SR Required: False Position: Named From 2fcf16beb7c9075b8d7cc6a0af77cf74c071aeed Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Tue, 1 Oct 2019 07:48:18 -0400 Subject: [PATCH 09/14] Update add-neteventpacketcaptureprovider.md updated example with the correct switch --- .../neteventpacketcapture/add-neteventpacketcaptureprovider.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/windows/neteventpacketcapture/add-neteventpacketcaptureprovider.md b/docset/windows/neteventpacketcapture/add-neteventpacketcaptureprovider.md index cb275ee93c..601d4180ff 100644 --- a/docset/windows/neteventpacketcapture/add-neteventpacketcaptureprovider.md +++ b/docset/windows/neteventpacketcapture/add-neteventpacketcaptureprovider.md @@ -42,7 +42,7 @@ To remove an existing Remote Packet Capture provider, use the Remove-NetEventPac ### Example 1: Add a packet capture provider ``` -PS C:\>New-NetEventSession -SessionName "Session01" +PS C:\>New-NetEventSession -Name "Session01" PS C:\> Add-NetEventProvider -Name "Microsoft-Windows-TCPIP" -SessionName "Session01" PS C:\> Add-NetEventPacketCaptureProvider -SessionName "Session01" ``` From 3a842f6bd926ed31a47a1fd9c7acd7ae603b5c5c Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Tue, 1 Oct 2019 07:49:14 -0400 Subject: [PATCH 10/14] Update Add-NetEventPacketCaptureProvider.md updated the example with correct switch --- .../neteventpacketcapture/Add-NetEventPacketCaptureProvider.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2012r2-ps/neteventpacketcapture/Add-NetEventPacketCaptureProvider.md b/docset/winserver2012r2-ps/neteventpacketcapture/Add-NetEventPacketCaptureProvider.md index c46650bc6a..6dad8d6593 100644 --- a/docset/winserver2012r2-ps/neteventpacketcapture/Add-NetEventPacketCaptureProvider.md +++ b/docset/winserver2012r2-ps/neteventpacketcapture/Add-NetEventPacketCaptureProvider.md @@ -41,7 +41,7 @@ To remove an existing Remote Packet Capture provider, use the Remove-NetEventPac ### Example 1: Add a packet capture provider ``` -PS C:\>New-NetEventSession -SessionName "Session01" +PS C:\>New-NetEventSession -Name "Session01" PS C:\> Add-NetEventProvider -Name "Microsoft-Windows-TCPIP" -SessionName "Session01" PS C:\> Add-NetEventPacketCaptureProvider -SessionName "Session01" ``` From 983ab8863e4ff5f135806bccacda4489b63a1bd9 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Tue, 1 Oct 2019 08:00:16 -0400 Subject: [PATCH 11/14] Update set-smbclientconfiguration.md added description to -EnableInsecureGuestLogons --- docset/windows/smbshare/set-smbclientconfiguration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/windows/smbshare/set-smbclientconfiguration.md b/docset/windows/smbshare/set-smbclientconfiguration.md index b8192c1443..608f045807 100644 --- a/docset/windows/smbshare/set-smbclientconfiguration.md +++ b/docset/windows/smbshare/set-smbclientconfiguration.md @@ -217,7 +217,7 @@ Accept wildcard characters: False ``` ### -EnableInsecureGuestLogons -{{Fill EnableInsecureGuestLogons Description}} +Indicates whether SMB client will allow insecure guest logons to an SMB server. ```yaml Type: Boolean From 3b2348a61031eb77e1e350c67fd1e5a8e77b3ca9 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Tue, 1 Oct 2019 08:04:58 -0400 Subject: [PATCH 12/14] Update Set-SmbClientConfiguration.md added description for enableloadbalancescaleout --- .../winserver2012r2-ps/smbshare/Set-SmbClientConfiguration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2012r2-ps/smbshare/Set-SmbClientConfiguration.md b/docset/winserver2012r2-ps/smbshare/Set-SmbClientConfiguration.md index ba9398dfdc..6d079b9a42 100644 --- a/docset/winserver2012r2-ps/smbshare/Set-SmbClientConfiguration.md +++ b/docset/winserver2012r2-ps/smbshare/Set-SmbClientConfiguration.md @@ -231,7 +231,7 @@ Accept wildcard characters: False ``` ### -EnableLoadBalanceScaleOut -{{Fill EnableLoadBalanceScaleOut Description}} +Indicates whether load balance scale out is enabled. ```yaml Type: Boolean From 73ed754f8c2b206f4431ebfdedd376caf1193172 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Tue, 1 Oct 2019 08:07:34 -0400 Subject: [PATCH 13/14] Update Set-SmbShare.md updated syntax description --- docset/winserver2012-ps/smbshare/Set-SmbShare.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docset/winserver2012-ps/smbshare/Set-SmbShare.md b/docset/winserver2012-ps/smbshare/Set-SmbShare.md index 84199a900f..9a17704006 100644 --- a/docset/winserver2012-ps/smbshare/Set-SmbShare.md +++ b/docset/winserver2012-ps/smbshare/Set-SmbShare.md @@ -16,7 +16,7 @@ Modifies the properties of the Server Message Block (SMB) share. ## SYNTAX -### UNNAMED_PARAMETER_SET_1 +### Query ``` Set-SmbShare [-AsJob] [-CachingMode ] [-CATimeout ] [-CimSession ] [-ConcurrentUserLimit ] [-ContinuouslyAvailable ] [-Description ] @@ -24,7 +24,7 @@ Set-SmbShare [-AsJob] [-CachingMode ] [-CATimeout ] [-CimSe [-SecurityDescriptor ] [-ThrottleLimit ] -InputObject [-Confirm] [-WhatIf] ``` -### UNNAMED_PARAMETER_SET_2 +### InputObject (cdxml) ``` Set-SmbShare [-Name] [[-ScopeName] ] [-AsJob] [-CachingMode ] [-CATimeout ] [-CimSession ] [-ConcurrentUserLimit ] From 9118c0a001f62e939fb142162f60b930b7643b4e Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Tue, 1 Oct 2019 08:09:01 -0400 Subject: [PATCH 14/14] Update Set-SmbShare.md added description for SMB instance --- docset/winserver2012r2-ps/smbshare/Set-SmbShare.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docset/winserver2012r2-ps/smbshare/Set-SmbShare.md b/docset/winserver2012r2-ps/smbshare/Set-SmbShare.md index 31c9b43cdf..0305327942 100644 --- a/docset/winserver2012r2-ps/smbshare/Set-SmbShare.md +++ b/docset/winserver2012r2-ps/smbshare/Set-SmbShare.md @@ -338,7 +338,8 @@ Accept wildcard characters: False ``` ### -SmbInstance -{{Fill SmbInstance Description}} +Specifies the input to this cmdlet. +You can use this parameter, or you can pipe the input to this cmdlet. ```yaml Type: SmbInstance