From 42efef5682143e654748b6d8bec0589ba8b9a3de Mon Sep 17 00:00:00 2001 From: Adam Keech Date: Wed, 25 Nov 2015 11:41:02 -0500 Subject: [PATCH] Appending "Registry::" is not needed and no longer works. --- windows/win_regedit.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/windows/win_regedit.ps1 b/windows/win_regedit.ps1 index ee92e781d0c..f9491e39c57 100644 --- a/windows/win_regedit.ps1 +++ b/windows/win_regedit.ps1 @@ -31,8 +31,6 @@ $state = Get-Attr -obj $params -name "state" -validateSet "present","absent" -de $registryData = Get-Attr -obj $params -name "data" -default $null $registryDataType = Get-Attr -obj $params -name "datatype" -validateSet "binary","dword","expandstring","multistring","string","qword" -default "string" -$registryKey = "Registry::" + $registryKey - If ($state -eq "present" -and $registryData -eq $null -and $registryValue -ne $null) { Fail-Json $result "missing required argument: data"