PackageDeployment Module Help

Package Deployment Module

Test-RegistryValue Cmdlet

Version 4.0.0.5

Test-RegistryValue

Synopsis

Existence of a registry value

Syntax

Test-RegistryValue [-KeyPath] <String> [[-ValueName] <String>] [-Wow64] [<CommonParameters>]

Description

Checks if a specific registry value exists (string, binary or DWORD value). The value name is the parameter

Parameters

-KeyPath <String>

Registry Key.

Required

True

Position

0

Accepts pipeline input

False

-ValueName <String>

value name.

Required

False

Position

1

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".