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.
16
16
## SYNTAX
17
17
18
18
### Query
19
+
19
20
```
20
21
Block-SmbClientAccessToServer [-Name] <String[]> -IdentifierType <IdentifierType>
21
22
-Identifier <String> [-Description <String>] [-Force] [-CimSession <CimSession[]>]
22
23
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]
23
24
```
24
25
25
26
### InputObject
27
+
26
28
```
27
29
Block-SmbClientAccessToServer -InputObject <CimInstance[]> -IdentifierType <IdentifierType>
28
30
-Identifier <String> [-Description <String>] [-Force] [-CimSession <CimSession[]>]
@@ -50,7 +52,7 @@ $params = @{
50
52
Block-SmbClientAccessToServer @params
51
53
```
52
54
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
54
56
certificate. This command runs without prompting for confirmation as the ** Force** parameter is set
55
57
to ` $true ` .
56
58
Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ Gets information about SMB client access to a specified server.
16
16
## SYNTAX
17
17
18
18
### Query
19
+
19
20
```
20
21
Get-SmbClientAccessToServer [-Name] <String[]> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
21
22
[-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]
22
23
```
23
24
24
25
### InputObject
26
+
25
27
```
26
28
Get-SmbClientAccessToServer -InputObject <CimInstance[]> [-CimSession <CimSession[]>]
27
29
[-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.
16
16
## SYNTAX
17
17
18
18
### Query
19
+
19
20
```
20
21
Grant-SmbClientAccessToServer [-Name] <String[]> -IdentifierType <IdentifierType>
21
22
-Identifier <String> [-Description <String>] [-Force] [-CimSession <CimSession[]>]
22
23
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]
23
24
```
24
25
25
26
### InputObject
27
+
26
28
```
27
29
Grant-SmbClientAccessToServer -InputObject <CimInstance[]> -IdentifierType <IdentifierType>
28
30
-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.
16
16
## SYNTAX
17
17
18
18
### Query
19
+
19
20
```
20
21
Revoke-SmbClientAccessToServer [-Name] <String[]> -IdentifierType <IdentifierType>
21
22
-Identifier <String> [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
22
23
[-WhatIf] [-Confirm] [<CommonParameters>]
23
24
```
24
25
25
26
### InputObject
27
+
26
28
```
27
29
Revoke-SmbClientAccessToServer -InputObject <CimInstance[]> -IdentifierType <IdentifierType>
28
30
-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.
16
16
## SYNTAX
17
17
18
18
### Query
19
+
19
20
```
20
21
Unblock-SmbClientAccessToServer [-Name] <String[]> -IdentifierType <IdentifierType>
21
22
-Identifier <String> [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
22
23
[-WhatIf] [-Confirm] [<CommonParameters>]
23
24
```
24
25
25
26
### InputObject
27
+
26
28
```
27
29
Unblock-SmbClientAccessToServer -InputObject <CimInstance[]> -IdentifierType <IdentifierType>
28
30
-Identifier <String> [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
You can’t perform that action at this time.
0 commit comments