Tech Tip – How to export object of a specific type using XPSExplorer and XPSExport

TechTip

USE CASE

Need to export all object of a specific type for e.g. Let’s say “Host Configuration” object.

SOLUTION

This can be done using a two-fold approach using XPSExplorer and XPSExport as below.

1. Run XPSExplorer

2. Type number corresponding to the “Host Config” object e.g 91 and enter

XPSExplorer_HCO

 

3. Type S to search for all “Host Config”.

HostConfig_Search

 

4. Use X option to “Add all to XCart”

AddToCart

 

5. Type Q twice to exit.

6. Type X to go to the Xcart

ExitCart

 

7. Type N to “Save cart to a new file”

SaveCart

 

8. Now save this file to any location of your choice

SaveCartFileName

HostConfigListXML

 

 

 

9. Now using XPSExport using the previously exported file as an input perform a full export using the following command :

XPSExport $Export_File_Name$ -xf $Path_To_Previously_Exported_File$ -npass

XPSEXport_Log

 

 

XPSExport

RELATED BLOG :

Tech Tip – How to check which federation objects are using a given certificate

Leave a Reply