Skip to content

Commit

Permalink
finalizing bpa execution
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Aug 15, 2023
1 parent 6eb9852 commit c30c58b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BestPracticeAnalyser_All/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $AddRow = foreach ($Template in $templates) {
$paramsField.Add($_.psobject.properties.name, $_.psobject.properties.value)
}
}
$FieldInfo = Invoke-Expression -Command $field.Command @paramsField | Where-Object $filterscript | Select-Object $field.ExtractFields
$FieldInfo = & $field.Command @paramsField | Where-Object $filterscript | Select-Object $field.ExtractFields
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# Authenticate with Azure PowerShell using MSI.
# Remove this if you are not planning on using MSI or Azure PowerShell.
Import-Module .\GraphHelper.psm1
#Import-Module Az.KeyVault
#Import-Module Az.Accounts
Import-Module Az.KeyVault
Import-Module Az.Accounts
Import-Module GraphRequests
Import-Module CippExtensions
Import-Module CippCore
Expand Down

0 comments on commit c30c58b

Please sign in to comment.