Import-​MI​IS​Server​Config

Imports management agent files.

Syntax

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.

Required Parameters

-Path

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

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Skip

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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WarningAction
Type:ActionPreference
Aliases:wa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WarningVariable
Type:String
Aliases:wv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters: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.