Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredfholgate committed Jun 4, 2024
1 parent 7706903 commit da8184d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@ $policyAssignmentTargetPath = "$TargetPath/modules/archetypes/lib/policy_assignm

foreach($managementGroup in $policyAssignments.Keys)
{
Write-Output "Processing Archetype Policy Assignments for Management Group: $managementGroup"

foreach($policyAssignmentFile in $policyAssignments[$managementGroup])
{
Write-Verbose "Processing Archetype Policy Assignment: $managementGroup $policyAssignmentFile"
Write-Output "Processing Archetype Policy Assignment: $managementGroup - $policyAssignmentFile"

$parsedAssignmentArray = & $parser "-s $policyAssignmentSourcePath/$policyAssignmentFile" $defaultParameterValues "-a" | Out-String | ConvertFrom-Json

Expand Down

0 comments on commit da8184d

Please sign in to comment.