From 76bebac8db767f125b32d2fd6c78a1c133c1c9d6 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Wed, 28 Aug 2019 09:55:22 -0400 Subject: [PATCH 1/7] Update Get-SmbShare.md added description for smbshare --- docset/winserver2012r2-ps/smbshare/Get-SmbShare.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md index 1122a26540..00429f1d91 100644 --- a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md +++ b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md @@ -367,7 +367,7 @@ 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 From 32f2afe8ddd2decd8f570113c136cdd85765691f Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Wed, 28 Aug 2019 09:57:57 -0400 Subject: [PATCH 2/7] Update Unblock-SmbShareAccess.md Added description for Smbinstance --- docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md b/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md index 7a10f343df..7a3a243e9d 100644 --- a/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md +++ b/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md @@ -198,7 +198,7 @@ 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 From 11cd2dc667112a71a8dca7cf5026b6917f04c3a0 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Thu, 29 Aug 2019 15:45:37 -0400 Subject: [PATCH 3/7] Update Get-SmbShare.md Added an example --- docset/winserver2012r2-ps/smbshare/Get-SmbShare.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md index 00429f1d91..1489b6cf90 100644 --- a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md +++ b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md @@ -148,6 +148,19 @@ VMS2 Contoso-FS J:\VMS This example retrieves the SMB shares on the computer that are connect to the SMB server named Contoso-FS. +### EXAMPLE 7 +``` +PS C:\>Get-SmbShare -Smbinstance Default + +Name ScopeName Path Description +---- --------- ---- ----------- +VMS1 Contoso-FS I:\VMS +VMS3 Contoso-SO C:\ClusterStorage\Volume1\VMS +VMS4 Contoso-SO C:\ClusterStorage\Volume2\VMS +``` + +This example retrieves the SMB shares on the computer which has the Smbinstance value set as Default. + ## PARAMETERS ### -AsJob From 2d5b7e75d3678d2c4a357d0149482797e728be88 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Sun, 1 Sep 2019 04:49:34 -0400 Subject: [PATCH 4/7] Update Unblock-SmbShareAccess.md Added an example for smbinstance --- .../smbshare/Unblock-SmbShareAccess.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md b/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md index 7a3a243e9d..602908daf3 100644 --- a/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md +++ b/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md @@ -71,6 +71,21 @@ VMFiles Contoso-SO Contoso\Contoso-HV1$ Allow This example removes all of the deny ACEs for the trustee from the security descriptor of the SMB share without user confirmation. +### EXAMPLE 3 +``` +PS C:\>Unblock-SmbShareAccess -Smbinstance Default +Confirm +Are you sure you want to perform this action? +[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 +VMFiles Contoso-SO Contoso\Contoso-HV1$ Allow Full +``` + +This example removes all of the deny ACEs for all Smbinstance's which has the value set as Default.. + ## PARAMETERS ### -AccountName From 5595c0987678129d49ef73f4a253e5a09b5c8d51 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Tue, 10 Sep 2019 15:00:53 -0400 Subject: [PATCH 5/7] Update docset/winserver2012r2-ps/smbshare/Get-SmbShare.md Co-Authored-By: JohanFreelancer9 <48568725+JohanFreelancer9@users.noreply.github.com> --- docset/winserver2012r2-ps/smbshare/Get-SmbShare.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md index 1489b6cf90..30d0cbee48 100644 --- a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md +++ b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md @@ -146,7 +146,7 @@ VMS1 Contoso-FS I:\VMS VMS2 Contoso-FS J:\VMS ``` -This example retrieves the SMB shares on the computer that are connect to the SMB server named Contoso-FS. +This example retrieves the SMB shares on the computer that are connected to the SMB server named Contoso-FS. ### EXAMPLE 7 ``` From 674c701394281ef2b36c52805b83876d73f078c1 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Tue, 10 Sep 2019 15:02:28 -0400 Subject: [PATCH 6/7] Update Get-SmbShare.md Added more acceptable Values --- docset/winserver2012r2-ps/smbshare/Get-SmbShare.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md index 30d0cbee48..2ded85eeb0 100644 --- a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md +++ b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md @@ -386,7 +386,7 @@ Specifies the input to this cmdlet. You can use this parameter, or you can pipe Type: SmbInstance Parameter Sets: (All) Aliases: -Accepted values: Default, CSV +Accepted values: Default, CSV, SBL, SR Required: False Position: Named From b48958c527344bf2dfab435db22fe6648bf6ad82 Mon Sep 17 00:00:00 2001 From: Sriraman M S <45987684+msbemba@users.noreply.github.com> Date: Tue, 10 Sep 2019 15:04:47 -0400 Subject: [PATCH 7/7] Update Unblock-SmbShareAccess.md Added more options to the Accepted value SMB instance --- docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md b/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md index 602908daf3..eaa01175f6 100644 --- a/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md +++ b/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md @@ -219,7 +219,7 @@ Specifies the input to this cmdlet. You can use this parameter, or you can pipe Type: SmbInstance Parameter Sets: Query Aliases: -Accepted values: Default, CSV +Accepted values: Default, CSV, SBL, SR Required: False Position: Named