Exports resources from an Active Directory / Exchange tenant.
Export-WINResources [-ShowPrereqs] [<CommonParameters>]
Export-WINResources -ConfigNode <String> [-Target <String>] [-Format <String>]
[<CommonParameters>]
Use the Export-WINResources
cmdlet to export resources
from an Active Directory / Exchange tenant.
See the Notes section for cmdlet requirements.
Export-WINResources -ConfigNode Source -Format Csv >'resources.csv'
This example exports all resources from an Active Directory / Exchange tenant.
The exported data is formatted as CSV
and saved to the file resources.csv
.
Export-WINResources -ConfigNode Source -Target Google -Format Csv >'resources.csv'
This example exports all resources from an Active Directory / Exchange tenant.
The exported data is formatted as CSV,
mapped for import into Google Workspace,
and saved to the file resources.csv
.
Export-WINResources -ConfigNode Source -Target M365 -Format Csv >'resources.csv'
This example exports all resources from an Active Directory / Exchange tenant.
The exported data is formatted as CSV,
mapped for import into Microsoft 365,
and saved to the file resources.csv
.
Export-WINResources -ConfigNode Source -Target MigrationList -Format Csv >'resources.csv'
This example exports all resources from an Active Directory / Exchange tenant.
The exported data is formatted as CSV,
mapped for use as a migration list,
and saved to the file resources.csv
.
The config.psd1
configuration node to use.
Type: String
Parameter Sets: Action
Aliases:
Accepted values: Source, Target
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The output type for exported data.
Note that extended properties cannot be serialized into CSV format. When using
-Format Csv
, extended properties will display as
System.Collections.Hashtable
in the output.
Type: String
Parameter Sets: Action
Aliases:
Accepted values: Csv, Json, Objects
Required: False
Position: Named
Default value: Objects
Accept pipeline input: False
Accept wildcard characters: False
Prints the cmdlet prerequisites.
Type: SwitchParameter
Parameter Sets: Help
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a mapping target for the exported data. Exported data mapped for a supported target is directly consumable by a corresponding import cmdlet.
To export unmapped data, use -Target None
.
Type: String
Parameter Sets: Action
Aliases:
Accepted values: Google, GroupWise, M365, MigrationList, None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Required config.psd1 configurations
WINDomainController
WINExchangeServer