Skip to content

Get-IvantiWCApplication

SYNOPSIS

Retrieves Ivanti Workspace Control application configurations from XML files.

SYNTAX

ByFilePath

Get-IvantiWCApplication -XmlFilePath <string> [-AsJson] [-ExportFor <string>] [<CommonParameters>]

ByPath

Get-IvantiWCApplication -XmlPath <string> [-AsJson] [-ExportFor <string>] [<CommonParameters>]

ALIASES

This cmdlet has the following aliases,

DESCRIPTION

Processes Ivanti Workspace Control XML building block file(s) and extracts application settings, assignments, and metadata. Supports both single large XML files and directories containing multiple separate XML files (one per application).

EXAMPLES

EXAMPLE 1

Get-IvantiWCApplication -XmlFilePath "C:\Config\IvantiApps.xml"

Processes a single XML file (legacy parameter usage).

EXAMPLE 2

Get-IvantiWCApplication -XmlPath "C:\Config\IvantiApps.xml"

Processes a single XML file containing all applications.

EXAMPLE 3

Get-IvantiWCApplication -XmlPath "C:\Config\Applications\" -AsJson

Processes all XML files in the specified directory and outputs as JSON.

PARAMETERS

-AsJson

Switch to output the results as JSON format instead of PowerShell objects.

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-ExportFor

Shapes the output for the target platform.

Type: System.String
DefaultValue: AppVentiX
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-XmlFilePath

(Legacy parameter) Path to a single Ivanti Workspace Control XML building block file. This parameter is maintained for backward compatibility. Use -XmlPath instead.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByFilePath
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-XmlPath

Path to either: - A single XML file containing all application configurations - A directory containing multiple XML files (one per application)

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ByPath
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Function : Get-IvantiWCApplication Author : John Billekens Copyright : (c) John Billekens Consultancy Version : 2026.224.915