< Back

Export-XDDesktop

Mon Jan 13, 2020 8:11 am

NAME Export-XDDesktop



SYNOPSIS

Adds Delivery group names to Desktop Object





SYNTAX

Export-XDDesktop [-desktop] <Object> [-dg] <Object> [[-xdhost] <String>] [<CommonParameters>]





DESCRIPTION

Adds Delivery group names to Desktop Object





PARAMETERS

-desktop <Object>

Exported desktop object



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-dg <Object>

Delivery group where desktop resides



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-xdhost <String>

XenDesktop DDC hostname to connect to



Required? false

Position? 3

Default value localhost

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:\\>$dg = get-brokerdesktopgroup -name "My Delivery Group"



$desktops = Get-BrokerEntitlementPolicyRule|Export-XDdesktop -xdhost $xdhost -dg $dg

Grabs all desktops and adds required values to object











RELATED LINKS