Skip to content

Commit 4542628

Browse files
authored
Merge pull request MicrosoftDocs#2588 from IngridAtMicrosoft/smbshare
SmbShare PowerShell reference update
2 parents 07edbb0 + 2312051 commit 4542628

34 files changed

+2589
-300
lines changed

docset/winserver2022-ps/smbshare/Block-SmbShareAccess.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -116,21 +116,6 @@ Accept pipeline input: False
116116
Accept wildcard characters: False
117117
```
118118
119-
### -Confirm
120-
Prompts you for confirmation before running the cmdlet.
121-
122-
```yaml
123-
Type: SwitchParameter
124-
Parameter Sets: (All)
125-
Aliases: cf
126-
127-
Required: False
128-
Position: Named
129-
Default value: False
130-
Accept pipeline input: False
131-
Accept wildcard characters: False
132-
```
133-
134119
### -Force
135120
Forces the command to run without asking for user confirmation.
136121
@@ -225,6 +210,21 @@ Accept pipeline input: False
225210
Accept wildcard characters: False
226211
```
227212

213+
### -Confirm
214+
Prompts you for confirmation before running the cmdlet.
215+
216+
```yaml
217+
Type: SwitchParameter
218+
Parameter Sets: (All)
219+
Aliases: cf
220+
221+
Required: False
222+
Position: Named
223+
Default value: False
224+
Accept pipeline input: False
225+
Accept wildcard characters: False
226+
```
227+
228228
### -WhatIf
229229
Shows what would happen if the cmdlet runs.
230230
The cmdlet is not run.

docset/winserver2022-ps/smbshare/Close-SmbOpenFile.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -167,21 +167,6 @@ Accept pipeline input: True (ByPropertyName)
167167
Accept wildcard characters: False
168168
```
169169
170-
### -Confirm
171-
Prompts you for confirmation before running the cmdlet.
172-
173-
```yaml
174-
Type: SwitchParameter
175-
Parameter Sets: (All)
176-
Aliases: cf
177-
178-
Required: False
179-
Position: Named
180-
Default value: False
181-
Accept pipeline input: False
182-
Accept wildcard characters: False
183-
```
184-
185170
### -FileId
186171
Specifies the file identifier (ID) of the file to forcibly close.
187172
@@ -308,6 +293,21 @@ Accept pipeline input: False
308293
Accept wildcard characters: False
309294
```
310295

296+
### -Confirm
297+
Prompts you for confirmation before running the cmdlet.
298+
299+
```yaml
300+
Type: SwitchParameter
301+
Parameter Sets: (All)
302+
Aliases: cf
303+
304+
Required: False
305+
Position: Named
306+
Default value: False
307+
Accept pipeline input: False
308+
Accept wildcard characters: False
309+
```
310+
311311
### -WhatIf
312312
Shows what would happen if the cmdlet runs.
313313
The cmdlet is not run.

docset/winserver2022-ps/smbshare/Close-SmbSession.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -132,21 +132,6 @@ Accept pipeline input: True (ByPropertyName)
132132
Accept wildcard characters: False
133133
```
134134
135-
### -Confirm
136-
Prompts you for confirmation before running the cmdlet.
137-
138-
```yaml
139-
Type: SwitchParameter
140-
Parameter Sets: (All)
141-
Aliases: cf
142-
143-
Required: False
144-
Position: Named
145-
Default value: False
146-
Accept pipeline input: False
147-
Accept wildcard characters: False
148-
```
149-
150135
### -Force
151136
Forces the command to run without asking for user confirmation.
152137
@@ -257,6 +242,21 @@ Accept pipeline input: False
257242
Accept wildcard characters: False
258243
```
259244

245+
### -Confirm
246+
Prompts you for confirmation before running the cmdlet.
247+
248+
```yaml
249+
Type: SwitchParameter
250+
Parameter Sets: (All)
251+
Aliases: cf
252+
253+
Required: False
254+
Position: Named
255+
Default value: False
256+
Accept pipeline input: False
257+
Accept wildcard characters: False
258+
```
259+
260260
### -WhatIf
261261
Shows what would happen if the cmdlet runs.
262262
The cmdlet is not run.

docset/winserver2022-ps/smbshare/Disable-SmbDelegation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,12 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
8787
8888
## INPUTS
8989
90+
### None
91+
9092
## OUTPUTS
9193
94+
### System.Object
95+
9296
## NOTES
9397
* This cmdlet relies on Active Directory Windows PowerShell cmdlets to perform its actions. Before you use this cmdlet, you must install the Active Directory cmdlets. To install the Active Directory cmdlets, run the following command:
9498
`Install-WindowsFeature RSAT-AD-PowerShell`
@@ -99,9 +103,5 @@ To check the functional level of the Active Directory forest, use the Get-ADFore
99103

100104
## RELATED LINKS
101105

102-
[Install-WindowsFeature](../Microsoft.Windows.ServerManager.Migration/Install-WindowsFeature.md)
103-
104-
[Enable-SmbDelegation](./Enable-SmbDelegation.md)
105-
106-
[Get-SmbDelegation](./Get-SmbDelegation.md)
106+
[SmbShare](./SmbShare.md)
107107

docset/winserver2022-ps/smbshare/Enable-SmbDelegation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
3-
external help file: SmbScriptModule-help.xml
3+
external help file: SmbScriptModule.psm1-help.xml
44
Module Name: SmbShare
55
ms.date: 12/20/2016
66
online version: https://docs.microsoft.com/powershell/module/smbshare/enable-smbdelegation?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
@@ -71,8 +71,12 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
7171
7272
## INPUTS
7373
74+
### None
75+
7476
## OUTPUTS
7577
78+
### System.Object
79+
7680
## NOTES
7781
* This cmdlet relies on Active Directory Windows PowerShell cmdlets to perform its actions. Before you use this cmdlet, you must install the Active Directory cmdlets. To install the Active Directory cmdlets, run the following command:
7882
`Install-WindowsFeature RSAT-AD-PowerShell`
@@ -83,9 +87,5 @@ To check the functional level of the Active Directory forest, use the Get-ADFore
8387

8488
## RELATED LINKS
8589

86-
[Install-WindowsFeature](../Microsoft.Windows.ServerManager.Migration/Install-WindowsFeature.md)
87-
88-
[Disable-SmbDelegation](./Disable-SmbDelegation.md)
89-
90-
[Get-SmbDelegation](./Get-SmbDelegation.md)
90+
[SmbShare](./SmbShare.md)
9191

docset/winserver2022-ps/smbshare/Get-SmbClientConfiguration.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,34 +89,34 @@ Accept pipeline input: False
8989
Accept wildcard characters: False
9090
```
9191
92-
### -Confirm
93-
Prompts you for confirmation before running the cmdlet.
92+
### -ThrottleLimit
93+
Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
94+
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.
95+
The throttle limit applies only to the current cmdlet, not to the session or to the computer.
9496

9597
```yaml
96-
Type: SwitchParameter
98+
Type: Int32
9799
Parameter Sets: (All)
98-
Aliases: cf
100+
Aliases:
99101
100102
Required: False
101103
Position: Named
102-
Default value: False
104+
Default value: None
103105
Accept pipeline input: False
104106
Accept wildcard characters: False
105107
```
106108

107-
### -ThrottleLimit
108-
Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
109-
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.
110-
The throttle limit applies only to the current cmdlet, not to the session or to the computer.
109+
### -Confirm
110+
Prompts you for confirmation before running the cmdlet.
111111

112112
```yaml
113-
Type: Int32
113+
Type: SwitchParameter
114114
Parameter Sets: (All)
115-
Aliases:
115+
Aliases: cf
116116
117117
Required: False
118118
Position: Named
119-
Default value: None
119+
Default value: False
120120
Accept pipeline input: False
121121
Accept wildcard characters: False
122122
```

docset/winserver2022-ps/smbshare/Get-SmbDelegation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
3-
external help file: SmbScriptModule-help.xml
3+
external help file: SmbScriptModule.psm1-help.xml
44
Module Name: SmbShare
55
ms.date: 12/20/2016
66
online version: https://docs.microsoft.com/powershell/module/smbshare/get-smbdelegation?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
@@ -55,8 +55,12 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
5555
5656
## INPUTS
5757
58+
### None
59+
5860
## OUTPUTS
5961
62+
### System.Object
63+
6064
## NOTES
6165
* This cmdlet relies on Active Directory Windows PowerShell cmdlets to perform its actions. Before you use this cmdlet, you must install the Active Directory cmdlets. To install the Active Directory cmdlets, run the following command:
6266
`Install-WindowsFeature RSAT-AD-PowerShell`
@@ -67,9 +71,5 @@ To check the functional level of the Active Directory forest, use the **Get-ADFo
6771

6872
## RELATED LINKS
6973

70-
[Install-WindowsFeature](../Microsoft.Windows.ServerManager.Migration/Install-WindowsFeature.md)
71-
72-
[Disable-SmbDelegation](./Disable-SmbDelegation.md)
73-
74-
[Enable-SmbDelegation](./Enable-SmbDelegation.md)
74+
[SmbShare](./SmbShare.md)
7575

0 commit comments

Comments
 (0)