Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
25 lines (18 sloc) 544 Bytes
#author: happysysadm
$DelaySettings = New-Object System.Collections.ArrayList
$DelaySettings.Add(
[PSCustomObject]@{
Name = 'Immediate'
WsusGroup = 'Standard'
ApprovalDelay = 1
}
)
$DelaySettings.Add(
[PSCustomObject]@{
Name = 'OneWeek'
WsusGroup = 'Touchy','Critical'
ApprovalDelay = 7
}
)
$DelaySettings | ConvertTo-Json | Out-File ApprovalDelaySettings.json -Force
Get-Content ApprovalDelaySettings.json | ConvertFrom-Json
You can’t perform that action at this time.