Remove-RDMPlaylistLocal
Synopsis
Delete local playlists.
Syntax
Name
Remove-RDMPlaylistLocal [-Name] <string[]> [-PassThru] [-ForcePromptAnswer <DialogResult[]>]
[-WhatIf] [-Confirm] [<CommonParameters>]InputObject
Remove-RDMPlaylistLocal [-InputObject] <PSPlaylistLocal[]> [-PassThru]
[-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Delete one or more local playlists from the current workspace.
Examples
Example 1
PS C:\> Remove-RDMPlaylistLocal -Name 'OldPlaylist'Deletes the local playlist named 'OldPlaylist'.
Example 2
Deletes multiple local playlists by name.
Example 3
Deletes all local playlists whose names start with 'Test', prompting for confirmation on each.
Example 4
Deletes a playlist and returns the deleted playlist object.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-InputObject
Local playlist objects to delete.
-Name
Names of the local playlists to delete.
-PassThru
Return the deleted playlist objects.
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
System.String
Names of playlists to delete.
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSPlaylistLocal
Local playlist objects from Get-RDMPlaylistLocal.
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSPlaylistLocal[]
Outputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSPlaylistLocal
Notes
For more information, type "Get-Help Remove-RDMPlaylistLocal -detailed". For technical information, type "Get-Help Remove-RDMPlaylistLocal -full".
Last updated
Was this helpful?