Skip to content

Commit 4bafb8f

Browse files
authored
Merge pull request MicrosoftDocs#2966 from velkovb/fix-2825
Resolves MicrosoftDocs#2825
2 parents 4af4179 + 60f7e46 commit 4bafb8f

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ 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]
29+
> The **WhatIf** parameter does not work with this cmdlet.
30+
2831
## EXAMPLES
2932

3033
### EXAMPLE 1
@@ -376,8 +379,6 @@ Accept wildcard characters: False
376379
Shows what would happen if the cmdlet runs.
377380
The cmdlet is not run.
378381

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

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ 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]
32+
> The **WhatIf** parameter does not work with this cmdlet.
33+
3134
## EXAMPLES
3235

3336
### EXAMPLE 1
@@ -396,8 +399,6 @@ Accept wildcard characters: False
396399
Shows what would happen if the cmdlet runs.
397400
The cmdlet is not run.
398401

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

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ 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]
33+
> The **WhatIf** parameter does not work with this cmdlet.
34+
3235
## EXAMPLES
3336

3437
### Example 1: Create an SMB share
@@ -412,8 +415,6 @@ Accept wildcard characters: False
412415
Shows what would happen if the cmdlet runs.
413416
The cmdlet is not run.
414417

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

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ 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]
33+
> The **WhatIf** parameter does not work with this cmdlet.
34+
3235
## EXAMPLES
3336

3437
### Example 1: Create an SMB share
@@ -412,8 +415,6 @@ Accept wildcard characters: False
412415
Shows what would happen if the cmdlet runs.
413416
The cmdlet is not run.
414417

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ The `New-SmbShare` cmdlet exposes a file system folder to remote clients as a Se
3333

3434
To delete a share that was created by this cmdlet, use the `Remove-SmbShare` cmdlet.
3535

36+
> [!NOTE]
37+
> The **WhatIf** parameter does not work with this cmdlet.
38+
3639
## EXAMPLES
3740

3841
### Example 1: Create an SMB share

0 commit comments

Comments
 (0)