fix problem where you couldn't compare empty strings in win_regedit following my previous change
This commit is contained in:
parent
3d24895606
commit
b94a614b7e
1 changed files with 2 additions and 2 deletions
|
@ -63,9 +63,9 @@ Function Test-RegistryValueData {
|
||||||
Function Compare-RegistryData {
|
Function Compare-RegistryData {
|
||||||
Param (
|
Param (
|
||||||
[parameter(Mandatory=$true)]
|
[parameter(Mandatory=$true)]
|
||||||
[ValidateNotNullOrEmpty()]$ReferenceData,
|
[AllowEmptyString()]$ReferenceData,
|
||||||
[parameter(Mandatory=$true)]
|
[parameter(Mandatory=$true)]
|
||||||
[ValidateNotNullOrEmpty()]$DifferenceData
|
[AllowEmptyString()]$DifferenceData
|
||||||
)
|
)
|
||||||
$refType = $ReferenceData.GetType().Name
|
$refType = $ReferenceData.GetType().Name
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue