File tree Expand file tree Collapse file tree
DSCResources/MSFT_xPackageResource Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ function Test-TargetResource
277277
278278 [pscredential ] $RunAsCredential ,
279279
280+ [ValidateSet (' LocalMachine' , ' CurrentUser' )]
280281 [string ] $InstalledCheckRegHive = ' LocalMachine' ,
281282
282283 [string ] $InstalledCheckRegKey ,
@@ -376,6 +377,7 @@ function Get-TargetResource
376377 [AllowEmptyString ()]
377378 [string ] $ProductId ,
378379
380+ [ValidateSet (' LocalMachine' , ' CurrentUser' )]
379381 [string ] $InstalledCheckRegHive = ' LocalMachine' ,
380382
381383 [string ] $InstalledCheckRegKey ,
@@ -574,6 +576,7 @@ function Set-TargetResource
574576
575577 [pscredential ] $RunAsCredential ,
576578
579+ [ValidateSet (' LocalMachine' , ' CurrentUser' )]
577580 [string ] $InstalledCheckRegHive = ' LocalMachine' ,
578581
579582 [string ] $InstalledCheckRegKey ,
You can’t perform that action at this time.
0 commit comments