Skip to content

Commit

Permalink
Removing AzADUser output (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
daltondhcp authored Jun 7, 2021
1 parent 8b8f30e commit 1e9b19b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/functions/Initialize-AzOpsRepository.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
if (-not $SkipRole) {
try {
Write-PSFMessage -String 'Initialize-AzOpsRepository.Validating.UserRole'
Get-AzADUser -First 1 -ErrorAction Stop
$null = Get-AzADUser -First 1 -ErrorAction Stop
Write-PSFMessage -String 'Initialize-AzOpsRepository.Validating.UserRole.Success'
}
catch {
Expand Down Expand Up @@ -151,4 +151,4 @@
Write-PSFMessage -String 'Initialize-AzOpsRepository.Duration' -StringValues $stopWatch.Elapsed -Data @{ Elapsed = $stopWatch.Elapsed }
}

}
}

0 comments on commit 1e9b19b

Please sign in to comment.