Skip to content

Commit

Permalink
Update src/internal/functions/Get-AzOpsResourceDefinition.ps1
Browse files Browse the repository at this point in the history
Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>
  • Loading branch information
Jefajers and daltondhcp authored May 2, 2022
1 parent 42fd76c commit 2099bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/functions/Get-AzOpsResourceDefinition.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
ODataQuery = $OdataFilter
ExpandProperties = $true
}
if($IncludeResourceType -eq "*") {
if ($IncludeResourceType -eq "*") {
Write-PSFMessage -Level Verbose @common -String 'Get-AzOpsResourceDefinition.ResourceGroup.Processing.Resources' -StringValues $resourceGroup.ResourceGroupName, $ScopeObject.SubscriptionDisplayName
Get-AzResource @paramGetAzResource | Where-Object { $_.Type -notin $SkipResourceType } | ForEach-Object {
New-AzOpsScope -Scope $_.ResourceId
Expand Down

0 comments on commit 2099bb4

Please sign in to comment.