Skip to content

Commit

Permalink
hf for run now standards
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jan 20, 2025
1 parent 951cd47 commit 30a5586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/CIPPCore/Public/Standards/Get-CIPPStandards.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Get-CIPPStandards {

$Table = Get-CippTable -tablename 'templates'
$Filter = "PartitionKey eq 'StandardsTemplateV2'"
$Templates = (Get-CIPPAzDataTableEntity @Table -Filter $Filter | Sort-Object TimeStamp).JSON | ConvertFrom-Json | Where-Object {
$Templates = (Get-CIPPAzDataTableEntity @Table -Filter $Filter | Sort-Object TimeStamp).JSON | ForEach-Object { ConvertFrom-Json -InputObject $_ -ErrorAction SilentlyContinue } | Where-Object {
$_.GUID -like $TemplateId -and $_.runManually -eq $runManually
}

Expand Down

0 comments on commit 30a5586

Please sign in to comment.