Resource Management Powershell
Documentation Home
  • Home
  • Installation
    • Installing the PowerShell module
  • Configuration
    • Configuration management
    • ConfigSync File
    • Variables File
      • <Variables> element
        • <Variable> element
    • <Operations> element
      • <ResourceOperation> element
      • <AnchorAttributes> element
      • <AnchorAttribute> element
      • <AttributeOperations> element
        • <AttributeOperation> element
    • Building references
  • Usage
    • Cmdlet reference
      • Set-ResourceManagementClient
      • Get-Resource
      • Save-Resource
      • Search-Resources
      • Search-ResourcesPaged
      • Remove-Resource
      • New-Resource
      • Update-ResourceManagementClientSchema
      • Import-RMConfig
      • New-XPathQuery
      • New-XPathQueryGroup
      • New-XPathExpression
      • Get-ApprovalRequest
      • Set-PendingApprovalRequest
  • help and support
    • Quick reference guide
    • Working with different data and attribute types
    • XPath expression examples
Powered by GitBook
On this page
  1. Configuration
  2. Variables File

<Variables> element

PreviousVariables FileNext<Variable> element

Last updated 2 years ago

The <Variables> element contains one or more . The an import-file attribute can also be specified to bring variables in from an external variables file.

XML Attribute Name
Description
Allowed Values

import-file

Optional. The path to another xml file containing the variables to import

A valid path

Example

<Variables>
   <Variable name="name" value="value">
</Variables>

The following example shows the use of the optional import-file attribute

<Variables import-file=".\PROD-Variables.xml">
   <Variable name="name" value="value">
</Variables>
Variable elements