diff --git a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md index 1122a26540..2ded85eeb0 100644 --- a/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md +++ b/docset/winserver2012r2-ps/smbshare/Get-SmbShare.md @@ -146,7 +146,20 @@ 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 +``` +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 @@ -367,13 +380,13 @@ 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: (All) Aliases: -Accepted values: Default, CSV +Accepted values: Default, CSV, SBL, SR Required: False Position: Named diff --git a/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md b/docset/winserver2012r2-ps/smbshare/Unblock-SmbShareAccess.md index 7a10f343df..eaa01175f6 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 @@ -198,13 +213,13 @@ 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