Merge pull request #491 from AndrewDemski-ad-gmail-com/patch-3

Update Add-ScopeMachine.ps1
pull/492/head
Romain 2023-11-17 20:16:54 +01:00 committed by GitHub
commit ba7bed6303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}