Merge pull request #491 from AndrewDemski-ad-gmail-com/patch-3
Update Add-ScopeMachine.ps1pull/492/head
commit
ba7bed6303
|
@ -15,6 +15,6 @@ function Add-ScopeMachine ($SettingsPath) {
|
|||
$Preference = New-Object PSObject -Property $(@{preferences = $Scope })
|
||||
Add-Member -InputObject $ConfigFile -MemberType NoteProperty -Name 'installBehavior' -Value $Preference -Force
|
||||
}
|
||||
$ConfigFile | ConvertTo-Json | Out-File $SettingsPath -Encoding utf8 -Force
|
||||
$ConfigFile | ConvertTo-Json -Depth 100 | Out-File $SettingsPath -Encoding utf8 -Force
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue