< Back

Remove-NfSmbShare

Sat Jan 18, 2020 5:11 pm

NAME Remove-NfSmbShare



SYNOPSIS

Removes the SMB share from a filesystem





SYNTAX

Remove-NfSmbShare [-Path] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Removes the SMB share from a filesystem





PARAMETERS

-Path <String>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

True if the share is removed





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Remove-SmbShare -Path p2/top1



True



Remove the share name from p2/top1











RELATED LINKS