|
|
|
@ -20,13 +20,13 @@
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
|
|
|
|
|
|
|
|
$params = Parse-Args $args -supports_check_mode $true
|
|
|
|
$params = Parse-Args $args -supports_check_mode $true
|
|
|
|
$key = Get-AnsibleParam $params "key" -FailIfEmpty $true
|
|
|
|
|
|
|
|
$property = Get-AnsibleParam $params "property" -FailIfEmpty $false -default $null
|
|
|
|
$key = Get-AnsibleParam -obj $params -name "key" -type "str" -failifempty $true
|
|
|
|
|
|
|
|
$property = Get-AnsibleParam -obj $params -name "property" -type "str"
|
|
|
|
|
|
|
|
|
|
|
|
$result = @{
|
|
|
|
$result = @{
|
|
|
|
win_reg_stat = @{}
|
|
|
|
|
|
|
|
changed = $false
|
|
|
|
changed = $false
|
|
|
|
warnings = @()
|
|
|
|
win_reg_stat = @{}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Function Get-NetHiveName($hive) {
|
|
|
|
Function Get-NetHiveName($hive) {
|
|
|
|
|