Skip to content

Commit 54cbd7d

Browse files
committed
Resolves #2825
Move WhatIf note in cmdlet description NOTE: The WhatIf switch does not work with this cmdlet.
1 parent 8494eb9 commit 54cbd7d

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

docset/winserver2012-ps/smbshare/New-SmbShare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ The **New-SMBShare** cmdlet exposes a file system folder to remote clients as a
2525

2626
To delete a share that was created by this cmdlet, use the Remove-SMBShare cmdlet.
2727

28+
NOTE: The WhatIf switch does not work with this cmdlet.
29+
2830
## EXAMPLES
2931

3032
### EXAMPLE 1
@@ -376,8 +378,6 @@ Accept wildcard characters: False
376378
Shows what would happen if the cmdlet runs.
377379
The cmdlet is not run.
378380

379-
NOTE: The WhatIf switch does not work with this cmdlet.
380-
381381
```yaml
382382
Type: SwitchParameter
383383
Parameter Sets: (All)

docset/winserver2012r2-ps/smbshare/New-SmbShare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ The **New-SMBShare** cmdlet exposes a file system folder to remote clients as a
2828

2929
To delete a share that was created by this cmdlet, use the Remove-SMBShare cmdlet.
3030

31+
NOTE: The WhatIf switch does not work with this cmdlet.
32+
3133
## EXAMPLES
3234

3335
### EXAMPLE 1
@@ -396,8 +398,6 @@ Accept wildcard characters: False
396398
Shows what would happen if the cmdlet runs.
397399
The cmdlet is not run.
398400

399-
NOTE: The WhatIf switch does not work with this cmdlet.
400-
401401
```yaml
402402
Type: SwitchParameter
403403
Parameter Sets: (All)

docset/winserver2016-ps/smbshare/New-SmbShare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ The **New-SmbShare** cmdlet exposes a file system folder to remote clients as a
2929

3030
To delete a share that was created by this cmdlet, use the Remove-SmbShare cmdlet.
3131

32+
NOTE: The WhatIf switch does not work with this cmdlet.
33+
3234
## EXAMPLES
3335

3436
### Example 1: Create an SMB share
@@ -412,8 +414,6 @@ Accept wildcard characters: False
412414
Shows what would happen if the cmdlet runs.
413415
The cmdlet is not run.
414416

415-
NOTE: The WhatIf switch does not work with this cmdlet.
416-
417417
```yaml
418418
Type: SwitchParameter
419419
Parameter Sets: (All)

docset/winserver2019-ps/smbshare/New-SmbShare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ The **New-SmbShare** cmdlet exposes a file system folder to remote clients as a
2929

3030
To delete a share that was created by this cmdlet, use the Remove-SmbShare cmdlet.
3131

32+
NOTE: The WhatIf switch does not work with this cmdlet.
33+
3234
## EXAMPLES
3335

3436
### Example 1: Create an SMB share
@@ -412,8 +414,6 @@ Accept wildcard characters: False
412414
Shows what would happen if the cmdlet runs.
413415
The cmdlet is not run.
414416

415-
NOTE: The WhatIf switch does not work with this cmdlet.
416-
417417
```yaml
418418
Type: SwitchParameter
419419
Parameter Sets: (All)

docset/winserver2022-ps/smbshare/New-SmbShare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ The **New-SmbShare** cmdlet exposes a file system folder to remote clients as a
2929

3030
To delete a share that was created by this cmdlet, use the Remove-SmbShare cmdlet.
3131

32+
NOTE: The WhatIf switch does not work with this cmdlet.
33+
3234
## EXAMPLES
3335

3436
### Example 1: Create an SMB share
@@ -462,8 +464,6 @@ Accept wildcard characters: False
462464
Shows what would happen if the cmdlet runs.
463465
The cmdlet is not run.
464466

465-
NOTE: The WhatIf switch does not work with this cmdlet.
466-
467467
```yaml
468468
Type: SwitchParameter
469469
Parameter Sets: (All)

0 commit comments

Comments
 (0)