Export-TrustedPrincipal Command | Vmware PowerCLI Reference

Export-TrustedPrincipal

This cmdlet exports the trusted principal from the single or the specified connected workload vCenter Server system to the specified file.

Syntax

Export-TrustedPrincipal
-FilePath < String >
[-Force ]
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
FilePath String named
Specifies the path to the file where you want to export the trusted principal from the workload vCenter Server system.
optional Force SwitchParameter named
Indicates that the cmdlet overwrites the existing destination files and creates directories to complete the specified file path.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.

Output

System.IO.FileInfo

Examples

Example 1

Export-TrustedPrincipal -FilePath c:\mypath.

Exports the trusted principal from the connected workload vCenter Server system to the c:\mypath file.

Related Commands

TrustedPrincipal

This cmdlet exports the trusted principal from the single or the specified connected workload vCenter Server system to the specified file.

This cmdlet retrieves the trusted principals from the connected workload vCenter Server system.