Skip to content

Commit b4359d2

Browse files
Merge pull request MicrosoftDocs#3248 from nedpyle/patch-7
Update Remove-SmbShare.md for scopename and related example
2 parents 7b7d855 + d4da29f commit b4359d2

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ Performing operation 'Remove-Share' on Target 'Contoso-FS,Data'.
5050

5151
This command deletes the SMB share named Data.
5252

53-
### Example 2: Delete an SMB share without confirmation
54-
```
55-
PS C:\>Remove-SmbShare -Name "VMFiles" -ScopeName "Contoso-SO" -Force
53+
### Example 2: Delete a Windows Server failover cluster file server resource SMB share without confirmation
54+
55+
```powershell
56+
Remove-SmbShare -Name "VMFiles" -ScopeName "Contoso-SO" -Force
5657
```
5758

58-
This command deletes the SMB share named VMFiles without user confirmation.
59+
This command deletes the SMB share named VMFiles on the `Contoso-SO` file server resource without user confirmation.
5960

6061
## PARAMETERS
6162

@@ -153,7 +154,8 @@ Accept wildcard characters: False
153154
```
154155
155156
### -ScopeName
156-
Specifies an array of the scopes of the SMB share to delete.
157+
158+
Specifies an array of the scopes of the SMB share to delete. For use with Windows Server failover cluster file server resources.
157159
158160
```yaml
159161
Type: String[]

0 commit comments

Comments
 (0)