< Back
New-XDMCSDesktop
Post
NAME New-XDMCSDesktop
SYNOPSIS
Adds machines to XenDesktop Machine Catalog and Delivery Group via MCS
SYNTAX
New-XDMCSDesktop [-machinecat] <String> [-dgroup] <String> [-mctype] <String> [[-howmany] <Int32>] [[-user]
<String>] [[-xdhost] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Adds machines to XenDesktop Machine Catalog and Delivery Group via MCS
PARAMETERS
-machinecat <String>
Machine Catalog to add to
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-dgroup <String>
Delivery group to add newly created machines to
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-mctype <String>
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-howmany <Int32>
Count of machines to add to the site (pooled)
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-user <String>
AD user to add to dedicated desktop (domain\\username)
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-xdhost <String>
Required? false
Position? 6
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:\\>New-XDMCSDesktop -machinecat "Windows 10 x64 Random" -dgroup "Windows 10 Desktop" -mctype "Dedicated" -user
"lab\\joeshmith"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>New-XDMCSDesktop -machinecat "Windows 10 x64 Dedicated" -dgroup "Windows 10 Desktop" -mctype "Pooled"
-howmany "10"
RELATED LINKS
SYNOPSIS
Adds machines to XenDesktop Machine Catalog and Delivery Group via MCS
SYNTAX
New-XDMCSDesktop [-machinecat] <String> [-dgroup] <String> [-mctype] <String> [[-howmany] <Int32>] [[-user]
<String>] [[-xdhost] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Adds machines to XenDesktop Machine Catalog and Delivery Group via MCS
PARAMETERS
-machinecat <String>
Machine Catalog to add to
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-dgroup <String>
Delivery group to add newly created machines to
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-mctype <String>
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-howmany <Int32>
Count of machines to add to the site (pooled)
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-user <String>
AD user to add to dedicated desktop (domain\\username)
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-xdhost <String>
Required? false
Position? 6
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:\\>New-XDMCSDesktop -machinecat "Windows 10 x64 Random" -dgroup "Windows 10 Desktop" -mctype "Dedicated" -user
"lab\\joeshmith"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>New-XDMCSDesktop -machinecat "Windows 10 x64 Dedicated" -dgroup "Windows 10 Desktop" -mctype "Pooled"
-howmany "10"
RELATED LINKS