Exports one or more smart client profiles to a JSON file.
Export-VmsClientProfile cmdlet exports one or more smart client profiles
to a JSON file. The resulting file can be imported on the same VMS to restore
lost or changed client profiles to a previous state, or it can be imported on
a different VMS to copy client profiles from one site to another.
When importing profiles from a more advanced VMS tier to a less advanced tier, such as XProtect Corporate to XProtect Professional+, you may observe errors during import if a client profile attribute is not present on the less advanced tier. However, the attributes that do exist on the product tier should be applied as long as the ErrorAction preference is not set to 'Stop'.
On a default installation of Milestone XProtect Corporate, the size of the JSON
file containing the exported Smart Client Profiles is ~13KB per client profile
without using the
-ValueTypeInfo switch, or ~50KB per client profile with the
-ValueTypeInfo switch. There is no functional benefit to including the
ValueTypeInfo, but it does eliminate ambiguity when you're unsure what the valid
values are for a given client profile attribute.
- Requires VMS connection and will attempt to connect automatically
- Requires VMS version 21.2
- Requires VMS feature "SmartClientProfiles"
Export all smart client profiles and their attributes to a file named 'clientprofiles.json' in the current folder.
Export the default smart client profiles and it's attributes to a file named 'defaultprofile.json' in the current folder.
Export the default smart client profiles and it's attributes to a file named
'defaultprofile.json' in the current folder. The presence of the
switch means the JSON file will contain information about the valid values for
Specifies a smart client profile. The value can be either a ClientProfile object as returned by Get-VmsClientProfile, or it can be the name of an existing client profile.
Specifies the file path, including filename, with a .json extension.
Include ValueTypeInfo data, if available, for each attribute.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.