Skip to content

Get ePORecoveryKey

Michael Arranaga edited this page Aug 30, 2019 · 1 revision

external help file: ePOwerShell-help.xml Module Name: ePOwerShell online version: schema: 2.0.0

Get-ePORecoveryKey

SYNOPSIS

Returns the MNE Recovery Key for specified encrypted systems

SYNTAX

Computer (Default)

Get-ePORecoveryKey [-Computer] <Object> [<CommonParameters>]

AgentGuid

Get-ePORecoveryKey -AgentGuid <Object> [<CommonParameters>]

DESCRIPTION

For the provided computer(s), this will query the ePO servers to find all of the encrypted volumes. For each volume, it collects the mount point and the volume serial number stored in ePO. For each of the encrypted volumes, it queries for a recovery key. The problem with only querying against the ePO Leaf Node ID is that it only returns a recovery key for the systems boot volume. If the system has additional mounted drives that are also encrypted, it does not return these keys.

This function outputs an array of ePORecoveryKey objects containing the computer name, mount point, and recovery key.

EXAMPLES

EXAMPLE 1

$RecoveyKey = Get-ePORecoveryKey -Computer 'My-ComputerName'

Fetch the recovery key for a system

PARAMETERS

-Computer

Specifies the computer we're finding the recovery key for. Can be provided as:

* An ePOComputer object
* A computer name

This parameter can be passed in from the pipeline.

Type: Object
Parameter Sets: Computer
Aliases: ComputerName, Name

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-AgentGuid

{{ Fill AgentGuid Description }}

Type: Object
Parameter Sets: AgentGuid
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Object[]

NOTES

RELATED LINKS