Update setupScriptInfo.ps1
This commit is contained in:
@@ -69,7 +69,7 @@ function SetRegistry {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if( -not (Test-Path -Path $regpath -PathType Container) ) {
|
if( -not (Test-Path -Path $regpath -PathType Container) ) {
|
||||||
New-Item -Path $regpath -Force
|
New-Item -Path $regpath -Force -ItemType Registry
|
||||||
New-ItemProperty -Path $regpath -Name $regproperty -Value 1 -PropertyType DWord
|
New-ItemProperty -Path $regpath -Name $regproperty -Value 1 -PropertyType DWord
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user