-
Notifications
You must be signed in to change notification settings - Fork 8
Get ePORecoveryKey
Returns the MNE Recovery Key for specified encrypted systems
Get-ePORecoveryKey [-Computer] <Object> [<CommonParameters>]
Get-ePORecoveryKey -AgentGuid <Object> [<CommonParameters>]
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.
$RecoveyKey = Get-ePORecoveryKey -Computer 'My-ComputerName'
Fetch the recovery key for a system
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
{{ Fill AgentGuid Description }}
Type: Object
Parameter Sets: AgentGuid
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.