Microsoft.AzureStack.ReadinessChecker.Reporting.psm1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 |
<#
.SYNOPSIS Common Reporting functions across all modules/scenarios .DESCRIPTION Logging, Reporting .INPUTS Inputs (if any) .OUTPUTS Output (if any) .NOTES General notes #> if (-not $outputPath) { $OutputPath = "$ENV:TEMP\AzsReadinessChecker" } $Global:AzsReadinessLogFile = Join-Path -Path $OutputPath -ChildPath 'AzsReadinessChecker.log' $Global:AzsReadinessReport = Join-Path -Path $OutputPath -ChildPath 'AzsReadinessCheckerReport.json' function Get-AzsReadinessProgress { <# .SYNOPSIS Look for existing progress or create new progress. .DESCRIPTION Finds either the latest progress XML file or creates a new progress XML file .EXAMPLE PS C:\> <example usage> Explanation of what the example does .INPUTS Clean switch, in case the user wants to start fresh Path to search for progress run. .OUTPUTS PSCustomObject of progress. .NOTES #> param ([switch]$clean, $path = $PSScriptRoot) $thisFunction = $MyInvocation.MyCommand.Name $latestReport = Get-ChildItem -Path $path -Filter AzsReadinessProgress.xml | Sort-Object LastWriteTime | Select-Object -first 1 if (-not $clean -and $latestReport) { $report = Import-CliXML $latestReport.FullName Write-AzsReadinessLog -Message ('Found existing report: {0}' -f $report.FilePath) -Type Info -Function $thisFunction } else { $hash = @{ FilePath = Join-Path $PSScriptRoot 'AzsReadinessProgress.xml' Version = $MyInvocation.MyCommand.Module.Version.ToString() Jobs = @{} CertificateValidation = @{} AzureValidation = @{ AzureRegistration = @{} AzureInstallResult = @{} } GraphValidation = @{} ADFSValidation = @{} } $report = new-object PSObject -Property $hash Write-AzsReadinessLog -Message ('Creating new report {0}' -f $report.FilePath) -Type Info -Function $thisFunction } $report } function Write-AzsReadinessProgress { <# .SYNOPSIS Write report output to JSON .DESCRIPTION After all processing, take results object and convert to JSON report. Any file already existing will be overwritten. .EXAMPLE Write-AzsReadinessProgress -report $report Writes $report to JSON file .INPUTS [psobject] .OUTPUTS XML file on disk (path on disk is expected to be embedded in psobject) .NOTES General notes #> param ([psobject]$report) $thisFunction = $MyInvocation.MyCommand.Name try { $report | Export-CliXml -Depth 10 -Path $report.FilePath -Force Write-AzsReadinessLog -Message ('Azs Readiness progress written: {0}' -f $report.FilePath) -Type Info -Function $thisFunction } Catch { Write-AzsReadinessLog -Message ('Writing XML progress to disk error {0}' -f $_.exception.message) -Type Error -Function $thisFunction throw $_.exception } } function Write-AzsReadinessLog { <# .SYNOPSIS Write verbose logging to disk .DESCRIPTION Formats and writes verbose logging to disk under scriptroot. Log type (or severity) is essentially cosmetic to the verbose log file, no action should be inferred, such as termination of the script. .EXAMPLE Write-AzsReadinessLog -Message ('Script messaging include data {0}' -f $data) -Type 'Info|Warning|Error' -Function 'FunctionName' .INPUTS Message - a string of the body of the log entry Type - a cosmetic type or severity for the message, must be info, warning or error Function - ideally the name of the function or the script writing the log entry. .OUTPUTS Appends Log entry to AzsReadinessChecker.log under the script root. .NOTES General notes #> param([string]$Message, [ValidateSet('Info', 'Warning', 'Error')][string]$Type = 'Info', [ValidateNotNullOrEmpty()][string]$Function, [switch]$toScreen ) if ($toScreen) { if ($PSEdition -eq 'desktop') { switch -wildcard ($function) { '*-AzsReadiness*' {$foregroundcolor = 'DarkYellow' } default {$foregroundcolor = "White" } } switch ($Type) { 'Success' {$foregroundcolor = 'Green'} 'Warn' {$foregroundcolor = 'Yellow'} 'Error' {$foregroundcolor = 'Red'} default {$foregroundcolor = "White" } } Write-Host $message -foregroundcolor $foregroundcolor } else { Write-Output $message } } if (-not $function) {$function = 'Start-AzsReadinessChecker'} $entry = "[{0}] [{1}] [{2}] {3}" -f ([datetime]::now).tostring(), $type, $function, $message if (-not (Test-Path $AzsReadinessLogFile)) { New-Item -Path $AzsReadinessLogFile -Force | Out-Null } $entry | Out-File -FilePath $AzsReadinessLogFile -Append -Force } function Add-AzsReadinessCheckerJob { <# .SYNOPSIS Adds a 'Job' to the progress object. .DESCRIPTION If a user runs the tool multiple time to check different assets e.g. Certificates on one execution and Registration details on the next execution Those executions are added to the progress for tracking purposes. Execution/Job details include: start time, parameters, parameterset (indicating what is being checked, certificates or Azure Accounts), Placeholders for EndTime and Duration (later filled in by Close-AzsReadinessCheckerJob) .EXAMPLE Add-AzsReadinessCheckerJob -report $report Adds execution job to progress object ($report) .INPUTS Report - psobject - containing all progress to date .OUTPUTS Report - psobject - updated with execution job log. .NOTES General notes #> param ($report) $thisFunction = $MyInvocation.MyCommand.Name $allJobs = @{} $alljobs = $report.Jobs # Index for jobs must be a string for json conversion later if ($alljobs.Count) { $jobCount = ($alljobs.Count++).tostring() } else { $jobCount = '0' } # Record current job $currentJob = @{ Index = $jobCount StartTime = (Get-Date -f 'yyyy/MM/dd HH:mm:ss') PSBoundParameters = $paramToString Operations = ($PSCmdlet.ParameterSetName -join ', ') EndTime = $null Duration = $null } Write-AzsReadinessLog -Message ('Adding current job to progress: {0}' -f $currentJob) -Type Info -Function $thisFunction # Add current job $allJobs += @{"$jobcount" = $currentJob} $report.Jobs = $allJobs $report } function Close-AzsReadinessCheckerJob { <# .SYNOPSIS Writes endtime and duration for jobs .DESCRIPTION Find latest job entry and update time and calculates duration calls function to update xml on disk and updates and returns report object .EXAMPLE Close-AzsReadinessCheckerJob -report $report .INPUTS Report - psobject - containing all progress to date .OUTPUTS Report - psobject - updated with finished execution job log. .NOTES General notes #> param ($report) $thisFunction = $MyInvocation.MyCommand.Name try { $latestJob = $report.jobs.Keys -match '[0-9]' | ForEach-Object {[int]$_} | Sort-Object -Descending | Select-Object -First 1 $report.jobs["$latestJob"].EndTime = (Get-Date -f 'yyyy/MM/dd HH:mm:ss') $duration = (([dateTime]$report.jobs["$latestJob"].EndTime) - ([dateTime]$report.jobs["$latestJob"].StartTime)).TotalSeconds $report.jobs["$latestJob"].Duration = $duration Write-AzsReadinessLog -Message ('Updating current job to progress with endTime: {0} and duration {1}' -f $report.jobs["$latestJob"].EndTime, $duration) -Type Info -Function $thisFunction } Catch { Write-AzsReadinessLog -Message ('Updating current job to progress failed with exception: {0}' -f $_.exception) -Type Error -Function $thisFunction throw } Write-AzsReadinessProgress -report $report $report } function Write-AzsReadinessReport { <# .SYNOPSIS Writes progress to disk in JSON format .DESCRIPTION Write progress object to disk in JSON format, overwriting as neccessary. The resulting blob is intended to be a portable record of what has been checked including the results of that check .EXAMPLE Write-AzsReadinessReport -report $report .INPUTS Report - psobject - containing all progress to date .OUTPUTS JSON - file - named AzsReadinessReport.json .NOTES General notes #> param ([psobject]$report) $thisFunction = $MyInvocation.MyCommand.Name try { ConvertTo-Json -InputObject $report -depth 10 | Out-file $AzsReadinessReport -force Write-AzsReadinessLog -Message ('JSON report written to {0}' -f ("$PSScriptRoot\AzsReadinessReport.json")) -Type Info -Function $thisFunction } catch { Write-AzsReadinessLog -Message ('Writing JSON report failed:' -f $_.exception.message) -Type Error -Function $thisFunction throw $_.exception } } function Copy-AzsReadinessLogging { <# .SYNOPSIS Copy each individual component log to the main log for AzsReadinessChecker .DESCRIPTION This function copies an individual component log to the main log for this tool. E.g. get CertChecker.log and insert it into AzsReadinessChecker.log, so there's a single source of truth. It archives individual component logs after copying their content. This ensures all timestamps are chronological. If no content is found, a placeholder of [missing] is inserted to indicate log copy failure. .EXAMPLE Copy-AzsReadinessLogging -ComponentLogFile CertChecker Gets CertChecker.log and inserts it into AzsReadinessChecker.log .INPUTS ComponentLogFile - string - valid set of 'CertChecker','AADHelper','CertRequest' .OUTPUTS File content in AzsReadinessChecker.log .NOTES #> param ([ValidateSet('CertChecker', 'AADHelper')][string]$ComponentLogFile) $thisFunction = $MyInvocation.MyCommand.Name switch ($ComponentLogFile) { 'CertChecker' {$logPath = "$PSScriptRoot\CertificateValidation\CertChecker.log" } 'AADHelper' {$logPath = "$PSScriptRoot\AzureValidation\AADChecker.log" } } if (Test-Path $logPath) { $logContent = Get-Content $logPath -ErrorAction SilentlyContinue if (-not $logContent) { # if there is no log content make an indication of this $logContent = '[missing]' } else { # if there is a log rename it to archive it, so the next execution would create a fresh. Move-Item -Path $logPath -Destination $logPath.replace('.log', '-{0}.log' -f (Get-Date -f yyyyMMddHHmmss)) -Force } # logs will always be fresh for each execution so indiscriminately copy all content to the main log. $logContent | Out-File $AzsReadinessLogFile -Append Write-AzsReadinessLog -Message ('Finished copying {0} log from {1}' -f $ComponentLogFile, $logPath, $outfile) -Type Info -Function $thisFunction } else { Write-AzsReadinessLog -Message ('Retrieving {0} log from {1} failed.' -f $ComponentLogFile, $logPath) -Type Error -Function $thisFunction } } function Get-AzsReadinessReport { <# .SYNOPSIS Read the readiness report and format it to screen .DESCRIPTION .EXAMPLE Get-AzsReadinessReport -reportFile $reportFile .INPUTS Report - psobject .OUTPUTS Write-Output .NOTES #> param ($reportJSON, [ValidateSet('Certificate', 'AzureRegistration', 'AzureIdentity', 'Graph', 'ADFS', 'Jobs', 'All')]$validations, [switch]$Summary) $thisFunction = $MyInvocation.MyCommand.Name Write-AzsReadinessLog -Message ('Reading report contents to output to screen') -Type Info -Function $thisFunction if ($validations -match 'Certificate|All') { foreach ($key in $reportJSON.CertificateValidation.PSObject.Properties.Name) { if ($reportJSON.CertificateValidation.$key.Test) { if (-not $Summary) { Write-AzsReadinessLog "`n############### $key Certificate Validation Results ###############`n" -Type Info -Function $thisFunction -toScreen if ($reportJSON.CertificateValidation.$key.count -ne $null) { Write-Output $reportJSON.CertificateValidation.$key | Select-Object Test, Result, Path, FailureDetail, ReuseCount | Format-List } else { Write-AzsReadinessLog "Deployment Certificate Validation results not available." -Type Info -Function $thisFunction -toScreen } } Write-AzsReadinessLog "`n############### $key Certificate Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen if ($reportJSON.CertificateValidation.$key.FailureDetail -match '[a-z]') { $certificateFailures = $reportJSON.CertificateValidation.$key | ForEach-Object {$PSITEM | where-object FailureDetail -ne $null} foreach ($certificateFailure in $certificateFailures) { Write-AzsReadinessLog ("`n`tCertificate: {0}" -f $certificateFailure.path) -Type Warning -toScreen Write-AzsReadinessLog ("`tIssue(s): {0}" -f ($certificateFailure.failureDetail -join ', ')) -Type Warning -Function Warn -toScreen } } else { Write-AzsReadinessLog "`tCertificate Validation found no errors or warnings." -Type Info -Function Success -toScreen } } else { Write-AzsReadinessLog "`n############### Certificate Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen Write-AzsReadinessLog "Certificate Validation results not available." -Type Info -Function $thisFunction -toScreen } } } if ($validations -match 'AzureRegistration|All') { if ($reportJSON.AzureValidation.AzureRegistration.Result) { if (-not $Summary) { Write-AzsReadinessLog "############### Azure Registration Subscription Results ###############" -Type Info -Function $thisFunction -toScreen Write-Output $reportJSON.AzureValidation.AzureRegistration.SubscriptionDetail | Select-Object ` @{Label = "Operation"; Expression = {$_.Test}}, ` @{Label = "AzureEnvironment"; Expression = {$_.AzureEnvironment}}, ` @{Label = "Account"; Expression = {$_.credential}}, ` @{Label = "Account Role"; Expression = {$_.userrole}}, ` @{Label = "Azure Active Directory Tenant"; Expression = {$_.AADDirectoryTenantName}}, ` @{Label = "Subscription Id"; Expression = {$_.subscription.subscriptionId}}, ` @{Label = "displayName"; Expression = {$_.subscription.displayName}}, ` @{Label = "Location Placement Id"; Expression = {$_.subscription.subscriptionPolicies.locationPlacementId}}, ` @{Label = "Quota ID"; Expression = {$_.subscription.subscriptionPolicies.quotaId}}, ` @{Label = "spendingLimit"; Expression = {$_.subscription.subscriptionPolicies.spendingLimit}}, ` @{Label = "Authorization Source"; Expression = {$_.subscription.authorizationSource}}, ` @{Label = "Enabled"; Expression = {$_.subscription.state}}, ` @{Label = "Subscription Type"; Expression = {$_.subscription.subscriptionPolicies.quotaId}}, ` @{Label = "Error Details"; Expression = {$_.errorDetails}} | Format-List Write-AzsReadinessLog "`n############### Azure Registration Validation Overall Results ###############" -Type Info -Function $thisFunction -toScreen Write-Output $reportJSON.AzureValidation.AzureRegistration | Select-Object ` @{Label = "Test"; Expression = {$_.Test}}, ` @{Label = "Result"; Expression = {$_.result}}, ` @{Label = "Subscription Id"; Expression = {$_.Assets.SubscriptionId}}, ` @{Label = "Enabled"; Expression = {$_.Assets.Enabled}}, ` @{Label = "Subscription Type"; Expression = {$_.Assets.SubscriptionType}}, ` @{Label = "Error Details"; Expression = {$_.errorDetails}} | Format-List } Write-AzsReadinessLog "`n############### Registration Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen if ($reportJSON.AzureValidation.AzureRegistration.errorDetails -or $reportJSON.AzureValidation.AzureRegistration.SubscriptionDetail.errorDetails) { $reportJSON.AzureValidation.AzureRegistration, $reportJSON.AzureValidation.AzureRegistration.SubscriptionDetail | where-object errorDetails -ne $null | ` ForEach-Object {Write-AzsReadinessLog ("`t{0}" -f ($_.errorDetails -join ', ')) -Type Warning -function Warn -toScreen} } else { Write-AzsReadinessLog "`tRegistration Validation found no errors or warnings.`n" -Type Info -Function Success -toScreen } } else { Write-AzsReadinessLog "`n############### Registration Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen Write-AzsReadinessLog "Azure Registration Validation results not available." -Type Warning -Function $thisFunction -toScreen Write-AzsReadinessLog "Start-AzsReadinessChecker -RegistrationAccount `$registrationCredential -RegistrationSubscriptionID `$subscriptionID -AzureEnvironment AzureCloud -AzureDirectoryTenantName azurestack.contoso.com" -Type Warning -Function $thisFunction } } if ($validations -match 'AzureIdentity|All') { if ($reportJSON.AzureValidation.AzureInstallResult.Result) { if (-not $Summary) { Write-AzsReadinessLog "############### Azure Identity Results ###############" -Type Info -Function $thisFunction -toScreen Write-Output $reportJSON.AzureValidation.AzureInstallResult | Select-Object Test, Result, ` @{Label = "AAD Service Admin"; Expression = {$_.Assets.AADServiceAdmin}}, ` @{Label = "Azure Environment"; Expression = {$_.Assets.AzureEnvironment}}, ` @{Label = "Azure Active Directory Tenant"; Expression = {$_.Assets.AADDirectoryTenantName}}, ` @{Label = "Error Details"; Expression = {$_.errorDetails}} | Format-List } Write-AzsReadinessLog "`n############### Azure Identity Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen if ($reportJSON.AzureValidation.AzureInstallResult.errorDetails) { $reportJSON.AzureValidation.AzureInstallResult | where-object errorDetails -ne $null | ` ForEach-Object {Write-AzsReadinessLog ("`t{0}" -f ($_.errorDetails -join ', ')) -Type Warning -Function $thisFunction -toScreen} } else { Write-AzsReadinessLog "`tAzure Identity Validation found no errors or warnings.`n" -Type Info -Function Success -toScreen } } else { Write-AzsReadinessLog "`n############### Azure Identity Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen Write-AzsReadinessLog "Azure Identity Validation results not available." -Type Warning -Function $thisFunction -toScreen Write-AzsReadinessLog "Start-AzsReadinessChecker -AADServiceAdministrator `$serviceAdminCredential - AzureEnvironment AzureCloud -AzureDirectoryTenantName azurestack.contoso.com" -Type Warning -Function $thisFunction } } if ($validations -match 'Graph|All') { if ($reportJSON.GraphValidation.Test) { if (-not $Summary) { Write-AzsReadinessLog "############### Azure Graph Validation Results ###############" -Type Info -Function $thisFunction -toScreen Write-Output $reportJSON.GraphValidation | Select-Object Test, Result, @{Label = "Error Details"; Expression = {$_.FailureDetail}} | Format-List } Write-AzsReadinessLog "`n############### Azure Graph Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen if ($reportJSON.GraphValidation.errorDetails) { $reportJSON.GraphValidation | where-object errorDetails -ne $null | ` ForEach-Object {Write-AzsReadinessLog ("`t{0}" -f ($_.errorDetails -join ', ')) -Type Warning -Function $thisFunction -toScreen} } else { Write-AzsReadinessLog "`tAzure Stack Graph Validation found no errors or warnings.`n" -Type Info -Function Success -toScreen } } else { Write-AzsReadinessLog "`n############### Azure Stack Graph Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen Write-AzsReadinessLog "Azure Stack Graph Validation results not available." -Type Warning -Function $thisFunction -toScreen Write-AzsReadinessLog "Invoke-AzureStackGraphValidation -ForestFQDN contoso.com -Credential `$cred" -Type Warning -Function $thisFunction } } if ($validations -match 'ADFS|All') { if ($reportJSON.ADFSValidation.Test) { if (-not $Summary) { Write-AzsReadinessLog "############### Azure Stack ADFS Validation Results ###############" -Type Info -Function $thisFunction -toScreen Write-Output $reportJSON.ADFSValidation | Select-Object Test, Result, @{Label = "Error Details"; Expression = {$_.FailureDetail}} | Format-List } Write-AzsReadinessLog "`n############### Azure Stack ADFS Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen if ($reportJSON.ADFSValidation.errorDetails) { $reportJSON.ADFSValidation | where-object errorDetails -ne $null | ` ForEach-Object {Write-AzsReadinessLog ("`t{0}" -f ($_.errorDetails -join ', ')) -Type Warning -Function $thisFunction -toScreen} } else { Write-AzsReadinessLog "`tAzure Stack ADFS Validation found no errors or warnings.`n" -Type Info -Function Success -toScreen } } else { Write-AzsReadinessLog "`n############### Azure Stack ADFS Validation Summary ###############`n" -Type Info -Function $thisFunction -toScreen Write-AzsReadinessLog "Azure Stack ADFS Validation results not available." -Type Warning -Function $thisFunction -toScreen Write-AzsReadinessLog "Invoke-AzsADFSValidation -CustomADFSFederationMetadataEndpointUri https://adfs.contoso.com/FederationMetadata/2007-06/FederationMetadata.xml" -Type Warning -Function $thisFunction } } if ($validations -match 'Jobs|All') { if (-not $reportjson.jobs) { Write-AzsReadinessLog "Job Summary not available. Run the Start-AzsReadinessChecker" -Type Warning -Function $thisFunction -toScreen } else { if (-not $Summary) { Write-AzsReadinessLog "`n############### AzsReadiness Job Summary ###############`n" -Type Info -Function $thisFunction -toScreen $jobs = @{} $reportjson.jobs.psobject.properties | ForEach-Object { $jobs[$_.Name] = $_.Value } $jobDetail = $jobs.Keys | ForEach-Object {if ($_ -ne 'count') {$jobs[$_]}} $jobDetail | Sort-Object Index | Select-Object ` @{Label = "Index"; Expression = {$_.Index}}, ` @{Label = "Operations"; Expression = {$_.Operations -join ', '}}, ` @{Label = "StartTime"; Expression = {$_.StartTime}}, ` @{Label = "EndTime"; Expression = {$_.EndTime}}, ` @{Label = "Duration"; Expression = {$_.Duration}}, ` @{Label = "PSBoundParameters"; Expression = {$_.PSBoundParameters}} | Format-List } } } } function Read-AzsReadinessReport { param ( [Parameter(Mandatory = $true, ParameterSetName = "ReadReport", HelpMessage = "Path for Readiness Report")] [ValidateScript( {Test-Path $_ -Include *.json})] [string]$ReportPath, [Parameter(Mandatory = $false, ParameterSetName = "ReadReport", HelpMessage = "Specify Report Path as 'Certificate', 'AzureRegistration', 'AzureIdentity', 'Graph', 'ADFS', 'Jobs', or 'All'")] [ValidateSet('Certificate', 'AzureRegistration', 'AzureIdentity', 'Graph', 'ADFS', 'Jobs', 'All')] [string[]]$ReportSections = 'All', [Parameter(Mandatory = $false, ParameterSetName = "ReadReport", HelpMessage = "Summarize report for issues only")] [switch]$Summary = $false ) $thisFunction = $MyInvocation.MyCommand.Name Write-AzsReadinessLog -Message ("`nReading {0} Validation(s) from Report {1}" -f ($ReportSections -join ', '), $reportPath) -Type Info -Function $thisFunction -toScreen if (Test-Path $reportPath) { $reportJSON = Get-Content -path $reportPath -ErrorAction Stop | ConvertFrom-Json Get-AzsReadinessReport -reportJSON $reportJSON -validations $ReportSections -Summary:$summary } else { Write-AzsReadinessLog -Message ("Unable to find $reportPath. Please specify a valid report file.") -Type Warning -Function $thisFunction -toScreen } } function Write-Header { param ($invocation, $params) $paramToString = ($params.GetEnumerator() | ForEach-Object { "$($_.Key)=$($_.Value)" }) -join ';' Write-AzsReadinessLog -Message ('{0} v{1} started.' -f ` $invocation.MyCommand.Name, $invocation.MyCommand.Module.Version.ToString()) ` -Type Info ` -Function $MyInvocation.MyCommand.Name ` -toScreen Write-AzsReadinessLog -Message ('{0} started version: {1} with parameters: {2}' ` -f $invocation.MyCommand.Name, $invocation.MyCommand.Module.Version.ToString(), $paramToString) ` -Type Info ` -Function $MyInvocation.MyCommand.Name Write-AzsReadinessLog -Message ('OSVersion: {0} PSVersion: {1} PSEdition: {2} Security Protocol: {3}' -f ` [environment]::OSVersion.Version.tostring(), $PSVersionTable.PSVersion.tostring(), $PSEdition, [Net.ServicePointManager]::SecurityProtocol) ` -Type Info ` -Function $MyInvocation.MyCommand.Name } function Write-Footer { param ($invocation) Write-AzsReadinessLog -Message ("`nLog location (contains PII): $AzsReadinessLogFile") ` -Type Info ` -Function $MyInvocation.MyCommand.Name ` -toScreen if ($invocation.MyCommand.Name -match 'Validation') { Write-AzsReadinessLog -Message ("Report location (contains PII): $AzsReadinessReport") ` -Type Info ` -Function $MyInvocation.MyCommand.Name ` -toScreen } Write-AzsReadinessLog -Message ("{0} Completed" -f $invocation.MyCommand.Name) ` -Type Info ` -Function $MyInvocation.MyCommand.Name ` -toScreen } # SIG # Begin signature block # MIIjgwYJKoZIhvcNAQcCoIIjdDCCI3ACAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCSrXT28eDNDEmT # qTRzYBvuPKAMUuVe+E3D87VK59BB9KCCDYEwggX/MIID56ADAgECAhMzAAABUZ6N # j0Bxow5BAAAAAAFRMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQK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