external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Removes a folder.
Remove-KshFolder [-Identity] <Folder> [<CommonParameters>]
Remove-KshFolder [-Identity] <Folder> [-RecycleBin] [<CommonParameters>]
The Remove-KshFolder cmdlet removes a folder from the parent folder.
PS C:\> Remove-KshFolder -Identity (Get-KshFolder -FolderUrl '/sites/japan/hr/Shared%20Documents/Templates')
Removes a folder.
PS C:\> Remove-KshFolder -Identity (Get-KshFolder -FolderUrl '/sites/japan/hr/Shared%20Documents/Templates')-RecycleBin
Moves a folder to the recycle bin.
Specifies the folder.
Type: Folder
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
If specified, moves the item to the recycle bin.
Type: SwitchParameter
Parameter Sets: ParamSet2
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
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.