Configuration driven Active Directory management.
Removes a specific share from the list of registered shares.
Unregister-DCShare [-Name] <String[]> [<CommonParameters>]
Removes a specific share from the list of registered shares.
Get-DCShare | Unregister-DCShare
Clears all registered shares.
The exact name of the share to unregister.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.