Share via


Import-MIISServerConfig

Imports management agent files.

Syntax

Default (Default)

Import-MIISServerConfig
    [-Path] <String>
    [-Skip <String>]
    [-WarningAction <ActionPreference>]
    [-WarningVariable <String>]
    [-WhatIf]
    [-Confirm]

Description

The Import-MIISServerConfig cmdlet imports all of the Microsoft Online Directory Synchronization Tool management agent configuration XML files and the metaverse configuration XML from the provided path. The user should use the Set-MIISADMAConfiguration, Set-MIISExtMAConfiguration, and Set-MIISECMA2Configuration cmdlets to ensure that the management agents conform to the usage environment.

Examples

Example 1: Import management agent files from a specified directory with verbose output

PS C:\> Import-MIISServerConfig -Path: "<path to the configuration XMLs>" -verbose

VERBOSE: Metaverse Schema Updated.
VERBOSE: Management Agent Created: C:\Program Files\Microsoft Online Directory
         Sync\ma\Exch\MA-{1D2C95FB-F61F-45A7-B6D5-F4124D5F7002}.XML
VERBOSE: Management Agent Created: C:\Program Files\Microsoft Online Directory
         Sync\ma\Exch\MA-{CB7D5198-66E8-49EC-9C0F-406A55FD4317}.XML
VERBOSE: Metaverse Schema Updated With IAF.

This command imports the management agent files from a specified directory and then outputs the result.

Example 2: Import management agent files from a specified directory

Import-MIISServerConfig -Path "C:\Program Files\Microsoft Online Directory Sync\ma\Exch"

This command imports the management agent files from the C:\Program Files\Microsoft Online Directory Sync\ma\Exch directory. The directory specified must contain the XML file that defines the default management agents and the metaverse schema.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Path

Specifies the directory that contains the XML that defines the default management agents and the metaverse schema.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Skip

Specifies a list of management agents which have not to be imported, delimited by a semicolon (;).

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WarningAction

The Import-MIISServerConfig cmdlet imports all of the Microsoft Online Directory Synchronization Tool management agent configuration XML files and the metaverse configuration XML from the provided path. The user should use the Set-MIISADMAConfiguration, Set-MIISExtMAConfiguration, and Set-MIISECMA2Configuration cmdlets to ensure that the management agents conform to the usage environment.

Parameter properties

Type:ActionPreference
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wa

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WarningVariable

The Import-MIISServerConfig cmdlet imports all of the Microsoft Online Directory Synchronization Tool management agent configuration XML files and the metaverse configuration XML from the provided path. The user should use the Set-MIISADMAConfiguration, Set-MIISExtMAConfiguration, and Set-MIISECMA2Configuration cmdlets to ensure that the management agents conform to the usage environment.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wv

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

Notes

The files imported are shipped templates. The user should use Set-MIISADMAConfiguration, Set-MIISExtMAConfiguration, and Set-MIISECMA2Configuration cmdlets to ensure that the Management Agents conform to the usage environment.