-
Notifications
You must be signed in to change notification settings - Fork 4
Export AcmaObjects
Ryan Newington edited this page May 26, 2022
·
4 revisions
Exports the specified ACMA objects to an XML file
Export-AcmaObjects -FileName <string> -ExportObjects <AcmaPSObjects[]>
The name of the file to export the entries to
The objects to export to the XML file
$query = New-AcmaQuery -Attribute "objectClass" -Operator Equals -Value "person";
$objects =Get-AcmaObjects $query;
Export-AcmaObjects -FileName "D:\temp\exported objects.xml" -ExportObjects $objects
$query = New-AcmaQuery -Attribute "objectClass" -Operator Equals -Value "person";
Get-AcmaObjects $query | Export-AcmaObjects -FileName "D:\temp\exported objects.xml";