We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab51a1 commit f27d1c7Copy full SHA for f27d1c7
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ExecStandardConvert.ps1
@@ -204,7 +204,7 @@ function Invoke-ExecStandardConvert {
204
$Converted | Add-Member -NotePropertyName 'createdAt' -NotePropertyValue ((Get-Date).ToUniversalTime()) -Force
205
$Converted | Add-Member -NotePropertyName 'updatedBy' -NotePropertyValue 'System' -Force
206
$Converted | Add-Member -NotePropertyName 'updatedAt' -NotePropertyValue (Get-Date).ToUniversalTime() -Force
207
- $JSON = $Converted | ConvertTo-Json -Depth 40
+ $JSON = ConvertTo-Json -Depth 40 -InputObject $Converted
208
209
$Table = Get-CippTable -tablename 'templates'
210
$Table.Force = $true
0 commit comments