< Back
Get-CimRegKey
Post
NAME Get-CimRegKey
SYNOPSIS
Execute a CIM method to enumerate a list of keys from the registry.
SYNTAX
Get-CimRegKey [-ComputerName <String>] [-Hive {ClassesRoot | CurrentUser | LocalMachine | Users | PerformanceData
| CurrentConfig | DynData}] -Key <String> [-Value <String[]>] [-OperationTimeoutSec <Int32>] [<CommonParameters>]
Get-CimRegKey -CimSession <CimSession> [-Hive {ClassesRoot | CurrentUser | LocalMachine | Users | PerformanceData
| CurrentConfig | DynData}] -Key <String> [-Value <String[]>] [-OperationTimeoutSec <Int32>] [<CommonParameters>]
DESCRIPTION
Uses CIM to enumerate keys under a key.
PARAMETERS
-ComputerName <String>
A computer name. A New-CimSessionDown will be created for it.
Required? false
Position? named
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-CimSession <CimSession>
A CimSession from New-CimSessionDown.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Hive
A hive type. The default is LocalMachine.
Required? false
Position? named
Default value LocalMachine
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Key <String>
The name of the key to read.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Value <String[]>
A filter to apply to the last value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OperationTimeoutSec <Int32>
Defaults to 30. If this wasn't specified operations may never timeout.
Required? false
Position? named
Default value 30
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
SYNOPSIS
Execute a CIM method to enumerate a list of keys from the registry.
SYNTAX
Get-CimRegKey [-ComputerName <String>] [-Hive {ClassesRoot | CurrentUser | LocalMachine | Users | PerformanceData
| CurrentConfig | DynData}] -Key <String> [-Value <String[]>] [-OperationTimeoutSec <Int32>] [<CommonParameters>]
Get-CimRegKey -CimSession <CimSession> [-Hive {ClassesRoot | CurrentUser | LocalMachine | Users | PerformanceData
| CurrentConfig | DynData}] -Key <String> [-Value <String[]>] [-OperationTimeoutSec <Int32>] [<CommonParameters>]
DESCRIPTION
Uses CIM to enumerate keys under a key.
PARAMETERS
-ComputerName <String>
A computer name. A New-CimSessionDown will be created for it.
Required? false
Position? named
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-CimSession <CimSession>
A CimSession from New-CimSessionDown.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Hive
A hive type. The default is LocalMachine.
Required? false
Position? named
Default value LocalMachine
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Key <String>
The name of the key to read.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Value <String[]>
A filter to apply to the last value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OperationTimeoutSec <Int32>
Defaults to 30. If this wasn't specified operations may never timeout.
Required? false
Position? named
Default value 30
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS