PackageDeployment Module Help

Package Deployment Module

Test-RegistryKey Cmdlet

Version 4.0.0.5

Test-RegistryKey

Synopsis

Existence of a registry key

Syntax

Test-RegistryKey [-KeyPath] <String> [-Wow64] [<CommonParameters>]

Description

Checks if a registry key exists.

Parameters

-KeyPath <String>

Registry Key.

Required

True

Position

0

Accepts pipeline input

False

-Wow64 <SwitchParameter>

Use WOW64 on x64 computers.

Required

False

Position

Named

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".