< Back

Remove-XDMCSDesktop

Mon Jan 13, 2020 8:16 am

NAME Remove-XDMCSDesktop



SYNOPSIS

Removes desktop(s) from given delivery group





SYNTAX

Remove-XDMCSDesktop [[-dgroup] <String>] [-mctype] <String> [[-howmany] <String>] [[-machine] <String>] [[-xdhost]

<String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Removes desktop(s) from given delivery group





PARAMETERS

-dgroup <String>



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-mctype <String>

Machine catalog type (dedicated or pooled)



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-howmany <String>

How many pooled machines to remove



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-machine <String>



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-xdhost <String>



Required? false

Position? 5

Default value localhost

Accept pipeline input? false

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



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



PS C:\\>Remove-XDMCSdesktop -desktop "MYDOMAIN\\MYVDI01" -mctype "Dedicated"













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Remove-XDMCSdesktop -howmany 5 -dgroup "Windows 7 Pooled Test" -mctype "Pooled"















RELATED LINKS