PowerCLI Reference

Get-KeyProvider

Synopsis

This cmdlet retrieves all key providers from the vCenter Server system.

Syntax

Get-KeyProvider -Id <String[]> [-Server <VIServer[]>] [<CommonParameters>]

Get-KeyProvider [[-Name] <String[]>] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online Version
Set-KeyProvider

Detailed Description

This cmdlet retrieves all key providers from the vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the name of the key providers you want to retrieve.falseFalse
IdString[]Specifies the IDs of the key providers you want to retrieve.trueFalse
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

Return Type

Zero or more KeyProviders objects

Notes

Examples

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

Get-KeyProvider -Server $myServer

Retrieves all key providers from the $myServer vCenter Server system.

-------------------------- Example 2 --------------------------

Get-KeyProvider -Name 'ThalesCluster'

Retrieves a key provider named 'ThalesCluster'.


Copyright © VMware, Inc. All rights reserved.