< Back
Export-XDSite
Post
NAME Export-XDSite
SYNOPSIS
Exports XD site information to variable or XML file
SYNTAX
Export-XDSite [[-xdhost] <String>] [[-xmlpath] <String>] [[-dgtag] <String>] [[-ignoredgtag] <String>] [[-apptag]
<String>] [[-ignoreapptag] <String>] [<CommonParameters>]
DESCRIPTION
Exports XD site information to variable or XML file
PARAMETERS
-xdhost <String>
XenDesktop DDC hostname to connect to
Required? false
Position? 1
Default value localhost
Accept pipeline input? false
Accept wildcard characters? false
-xmlpath <String>
Path used for XML file location on import and export operations
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-dgtag <String>
Only export delivery groups with specified tag
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ignoredgtag <String>
Skips export of delivery groups with specified tag
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-apptag <String>
Export delivery group applications with specific tag
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ignoreapptag <String>
Exports all delivery group applications except ones with specific tag
Required? false
Position? 6
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:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM
Exports data from DDC02.DOMAIN.COM and returns as object
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM -dgtag "replicate"
Exports data from DDC02.DOMAIN.COM with delivery groups tagged with "replicate" and returns as object.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM -ignoredgtag "skip"
Exports data from DDC02.DOMAIN.COM while skipping delivery groups tagged with "skip" and returns as object.
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM -apptag "replicate"
Exports data from DDC02.DOMAIN.COM delivery groups while only including apps tagged with "replicate" and returns
as object.
-------------------------- EXAMPLE 5 --------------------------
PS C:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM -ignoreapptag "skip"
Exports data from DDC02.DOMAIN.COM delivery groups while ignoring apps tagged with "skip" and returns as object.
-------------------------- EXAMPLE 6 --------------------------
PS C:\\>.\\XDReplicate.ps1 -xdhost DDC02.DOMAIN.COM -XMLPATH "C:\\temp\\my.xml"
Exports data from DDC02.DOMAIN.COM and exports to C:\\temp\\my.xml
RELATED LINKS
SYNOPSIS
Exports XD site information to variable or XML file
SYNTAX
Export-XDSite [[-xdhost] <String>] [[-xmlpath] <String>] [[-dgtag] <String>] [[-ignoredgtag] <String>] [[-apptag]
<String>] [[-ignoreapptag] <String>] [<CommonParameters>]
DESCRIPTION
Exports XD site information to variable or XML file
PARAMETERS
-xdhost <String>
XenDesktop DDC hostname to connect to
Required? false
Position? 1
Default value localhost
Accept pipeline input? false
Accept wildcard characters? false
-xmlpath <String>
Path used for XML file location on import and export operations
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-dgtag <String>
Only export delivery groups with specified tag
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ignoredgtag <String>
Skips export of delivery groups with specified tag
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-apptag <String>
Export delivery group applications with specific tag
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ignoreapptag <String>
Exports all delivery group applications except ones with specific tag
Required? false
Position? 6
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:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM
Exports data from DDC02.DOMAIN.COM and returns as object
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM -dgtag "replicate"
Exports data from DDC02.DOMAIN.COM with delivery groups tagged with "replicate" and returns as object.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM -ignoredgtag "skip"
Exports data from DDC02.DOMAIN.COM while skipping delivery groups tagged with "skip" and returns as object.
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM -apptag "replicate"
Exports data from DDC02.DOMAIN.COM delivery groups while only including apps tagged with "replicate" and returns
as object.
-------------------------- EXAMPLE 5 --------------------------
PS C:\\>Export-XDSite -xdhost DDC02.DOMAIN.COM -ignoreapptag "skip"
Exports data from DDC02.DOMAIN.COM delivery groups while ignoring apps tagged with "skip" and returns as object.
-------------------------- EXAMPLE 6 --------------------------
PS C:\\>.\\XDReplicate.ps1 -xdhost DDC02.DOMAIN.COM -XMLPATH "C:\\temp\\my.xml"
Exports data from DDC02.DOMAIN.COM and exports to C:\\temp\\my.xml
RELATED LINKS