File tree Expand file tree Collapse file tree 5 files changed +11
-1
lines changed
docset/winserver2025-ps/smbshare Expand file tree Collapse file tree 5 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,15 @@ Blocks SMB client access to a specified server.
1616## SYNTAX
1717
1818### Query
19+
1920```
2021Block-SmbClientAccessToServer [-Name] <String[]> -IdentifierType <IdentifierType>
2122 -Identifier <String> [-Description <String>] [-Force] [-CimSession <CimSession[]>]
2223 [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]
2324```
2425
2526### InputObject
27+
2628```
2729Block-SmbClientAccessToServer -InputObject <CimInstance[]> -IdentifierType <IdentifierType>
2830 -Identifier <String> [-Description <String>] [-Force] [-CimSession <CimSession[]>]
@@ -50,7 +52,7 @@ $params = @{
5052Block-SmbClientAccessToServer @params
5153```
5254
53- This command blocks SMB client access to a server named " Server01" for the based on the client's
55+ This command blocks SMB client access to a server named ` Server01 ` for the based on the client's
5456certificate. This command runs without prompting for confirmation as the ** Force** parameter is set
5557to ` $true ` .
5658
Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ Gets information about SMB client access to a specified server.
1616## SYNTAX
1717
1818### Query
19+
1920```
2021Get-SmbClientAccessToServer [-Name] <String[]> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
2122 [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]
2223```
2324
2425### InputObject
26+
2527```
2628Get-SmbClientAccessToServer -InputObject <CimInstance[]> [-CimSession <CimSession[]>]
2729 [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]
Original file line number Diff line number Diff line change @@ -16,13 +16,15 @@ Grants SMB client access to a specified server.
1616## SYNTAX
1717
1818### Query
19+
1920```
2021Grant-SmbClientAccessToServer [-Name] <String[]> -IdentifierType <IdentifierType>
2122 -Identifier <String> [-Description <String>] [-Force] [-CimSession <CimSession[]>]
2223 [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]
2324```
2425
2526### InputObject
27+
2628```
2729Grant-SmbClientAccessToServer -InputObject <CimInstance[]> -IdentifierType <IdentifierType>
2830 -Identifier <String> [-Description <String>] [-Force] [-CimSession <CimSession[]>]
Original file line number Diff line number Diff line change @@ -16,13 +16,15 @@ Revokes SMB client access to a specified server.
1616## SYNTAX
1717
1818### Query
19+
1920```
2021Revoke-SmbClientAccessToServer [-Name] <String[]> -IdentifierType <IdentifierType>
2122 -Identifier <String> [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
2223 [-WhatIf] [-Confirm] [<CommonParameters>]
2324```
2425
2526### InputObject
27+
2628```
2729Revoke-SmbClientAccessToServer -InputObject <CimInstance[]> -IdentifierType <IdentifierType>
2830 -Identifier <String> [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
Original file line number Diff line number Diff line change @@ -16,13 +16,15 @@ Unblocks SMB client access to a previously blocked server.
1616## SYNTAX
1717
1818### Query
19+
1920```
2021Unblock-SmbClientAccessToServer [-Name] <String[]> -IdentifierType <IdentifierType>
2122 -Identifier <String> [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
2223 [-WhatIf] [-Confirm] [<CommonParameters>]
2324```
2425
2526### InputObject
27+
2628```
2729Unblock-SmbClientAccessToServer -InputObject <CimInstance[]> -IdentifierType <IdentifierType>
2830 -Identifier <String> [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
You can’t perform that action at this time.
0 commit comments