PowerCLI Reference

Export-TrustedPrincipal

Synopsis

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

Syntax

Export-TrustedPrincipal [-Confirm] -FilePath <String> [-Force] [-Server <VIServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-TrustedPrincipal

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
FilePathStringSpecifies the path to the file where you want to export the trusted principal from the workload vCenter Server system.trueFalse
ForceSwitchParameterIndicates that the cmdlet overwrites the existing destination files and creates directories to complete the specified file path.falseFalse
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

System.IO.FileInfo

Notes

Examples

-------------------------- Example 1 --------------------------

Export-TrustedPrincipal -FilePath c:\mypath.

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


Copyright © VMware, Inc. All rights reserved.