Azs.TeamsIntegration.psm1
#Requires -Modules Azs.Update.Admin, Azs.Operator Import-Module -Name Azs.Operator -Force -Verbose:$false Import-Module -Name Azs.Update.Admin -Force -Verbose:$false # Import modules $Location = $PSScriptRoot [System.Reflection.Assembly]::LoadFrom("$Location\Dependencies\Antlr4.Runtime.dll") [System.Reflection.Assembly]::LoadFrom("$Location\Dependencies\Newtonsoft.Json.dll") [System.Reflection.Assembly]::LoadFrom("$Location\Dependencies\Jurassic.dll") [System.Reflection.Assembly]::LoadFrom("$Location\Dependencies\AdaptiveCards.dll") [System.Reflection.Assembly]::LoadFrom("$Location\Dependencies\AdaptiveExpressions.dll") [System.Reflection.Assembly]::LoadFrom("$Location\Dependencies\AdaptiveCards.Templating.dll") Import-Module -Name $Location\Azs.TeamsIntegration.Update.psm1 -force -Global -Verbose:$false Import-Module -Name $Location\Azs.TeamsIntegration.Utilities.psm1 -force -Global -DisableNameChecking -Verbose:$false Import-LocalizedData -BindingVariable LocalizedText -Filename Azs.TeamsIntegration.Update.Strings.psd1 -ErrorAction SilentlyContinue function Send-AzsUpdate { <# .SYNOPSIS Send Update status to operators and audiences. .DESCRIPTION Retrieves update status and post a webrequest to operator and audience URIs, optionally as an adaptive card for teams. .EXAMPLE PS C:\> $OperatorUri = "https://outlook.office.com/webhook/<etc>" PS C:\> $AudienceUri = "https://outlook.office.com/webhook/<etc>" PS C:\> $Bridge = "https://teams.microsoft.com/l/meetup-join/<etc>" PS C:\> $stamp = "Prod" PS C:\> Send-AzsUpdate -AudienceUri $AudienceUri -OperatorUri $OperatorUri -Stamp $stamp -BridgeInformation $Bridge Updates audience every 10 minutes and operators (default) every 5 minutes for stamp "Prod" .NOTES Operators are assumed to have access to the audience channel and thus do not need rich data on the update. Operators recieve update status and duration and messages about the execution of retrieving and building status updates for all. OperatorFrequency must be less than or equal AudienceFrequency, it is assumes operators need update status quicker than audiences. .PARAMETER OperatorFrequency How often (approximately) the monitor the update for Operators. Must be 5, 10, 15, 20, 30 or 60 .PARAMETER AudienceFrequency How often (approximately) the monitor the update for Audiences. Must be 5, 10, 15, 20, 30 or 60 .PARAMETER AudienceUri Uri(s) to send Audience status updates .PARAMETER OperatorUri Uri(s) to send Operator status updates .PARAMETER Stamp An Azs.Management construct that is passed to PEP and ARM connections. Stamps must be onboarded in Azs.Management using Add-Stamp. .PARAMETER PepCredential An Azs.Management construct that is passed to PEP connections. Cloud Admin credential for PEP connections. .PARAMETER UpdateStatus NOT YET IMPLEMENT. FOR OFFLINE UPDATES .PARAMETER StampInformation NOT YET IMPLEMENT. FOR OFFLINE UPDATES .PARAMETER DisposePEP Close the PEP Session after every iteration. .PARAMETER Brief Messages will not be delivered if the previous message content was the same. .PARAMETER LogAction Logs write to console and disk by default, valid values 'File','Console','WebHook' where Webhook is the operator webhook by default .PARAMETER LogPath Saves zip of diagnostic data for troubleshooting in $home\.Azs.TeamsIntegration by default. .PARAMETER RetrySeconds Wait in seconds for retries connecting to ARM and PEP. Default is 30 .PARAMETER HideEnvironmentDetail Optionally hide environment on teams cards .NOTES v0.1.1 - Send-AzsUpdate errors when Get-AzsUpdate returns nothing v0.1.1 Not using -log can lead to errors #> [CmdletBinding()] [Alias("Send-AzsUpdateStatus")] param ( [Parameter(Mandatory = $false, HelpMessage = 'Will override connectionUri in StampDefinition')] [System.Uri[]] $AudienceUri, [Parameter(Mandatory = $false, HelpMessage = 'Send issues to a seperate Operator URI')] [System.Uri[]] $OperatorUri, [Parameter(Mandatory = $true, ParameterSetName = 'Online')] [ArgumentCompleter( { (Get-Stamp).Name | Sort-Object })] [string] $Stamp, [Parameter(Mandatory = $false, ParameterSetName = 'Online')] [pscredential] $PepCredential, [Parameter(Mandatory = $true, ParameterSetName = 'Offline', HelpMessage = 'Use offline XML status of update')] [xml] $UpdateStatus, [Parameter(Mandatory = $false, HelpMessage = 'Messages will not be delivered if the previous message content was the same.')] [switch]$Brief, [Parameter(Mandatory = $true, ParameterSetName = 'Offline', HelpMessage = 'Use offline Stamp Information JSON status of update')] [psobject] $StampInformation, [Parameter(Mandatory = $false, ParameterSetName = 'Online', HelpMessage = 'Force PEP disconnect after every run.')] [switch]$DisposePEP, [Parameter(Mandatory = $false, HelpMessage = "Logs write to console and disk by default, valid values 'File','Console','WebHook' where Webhook is the operator webhook by default")] [ValidateSet('Console','File','WebHook')] [string[]]$LogAction = @('File','Console'), [Parameter(Mandatory = $false, HelpMessage = 'Customize log path')] [string]$logPath = (Join-Path "$HOME" (".AzsTeamsIntegration\{0}" -f (Get-Date).ToString('yyyyMMddHHmmss'))), [Parameter(Mandatory = $false, ParameterSetName = 'Online', HelpMessage = 'Wait in seconds for retries connecting to ARM and PEP. Default is 30')] [int]$retrySeconds = 30, [Parameter(Mandatory = $false, HelpMessage = 'Optionally include bridge information on the card')] $BridgeInformation, [Parameter(Mandatory = $false, HelpMessage = 'Optionally hide environment on teams cards')] [switch]$HideEnvironmentDetail ) try { $GLOBAL:logPath = Initialize-LogPath -LogPath $logPath $GLOBAL:LogAction = $LogAction $GLOBAL:Stamp = $Stamp #region online/live & offline read for update info if ($PSCmdlet.ParameterSetName -eq 'Online') { Write-CustomLog "[$Stamp] Connecting PEP" $pepsession = Get-PepSessionWithRetries -stamp $stamp -retrySeconds $retrySeconds -PepCredential $PepCredential ###### ONLINE if (-not $pepSession) { throw ($localizedText.NoPepSession -f $stamp) } if (-not $StampInformation) { Write-CustomLog "[$Stamp] Getting Stamp Information" $StampInformation = Invoke-PepCommand -PepSession $pepSession -scriptBlock { Get-AzureStackStampInformation } ###### ONLINE } # get update status from URP and determine latest update state $AllUpdates = Get-AzsUpdateWithRetries -stamp $stamp -retrySeconds $retrySeconds ###### ONLINE $UpdateInFlight = ($AllUpdates | Where-Object State -in 'Installing', 'Preparing') if ($UpdateInFlight) { $TrackingUpdateRun = Get-AzsUpdateRunWithRetries -Stamp $Stamp -retrySeconds $retrySeconds -UpdateName $UpdateInFlight.Name ####### ONLINE # if the update is installing and the audience needs an update we can get the detail from the PEP # if the audience doesn't need an update, just the operators, then ARM calls will be enough. if ($UpdateInFlight.state -eq 'Installing' -and $AudienceUri) { Write-CustomLog "[$Stamp] Running Get-AzureStackUpdateStatus" [xml]$updateStatus = Invoke-PepCommand -PepSession $pepSession -ScriptBlock { Get-AzureStackUpdateStatus } } } else { Write-CustomLog "[$Stamp] No active update run" } } elseif ($PSCmdlet.ParameterSetName -eq 'Offline') { $OfflineLogPath = Join-Path $logPath 'offline' Expand-Archive -Path $zipFile -DestinationPath $OfflineLogPath # Stamp Info $StampInformation = Get-Content (Join-Path $OfflineLogPath\StampInformation.json) -raw -ErrorAction Continue | ConvertFrom-Json # All updates $AllUpdates = Get-Content (Join-Path $OfflineLogPath\AllUpdates.json) -raw -ErrorAction Continue | ConvertFrom-Json $UpdateInFlight = ($AllUpdates | Where-Object State -in 'Installing', 'Preparing') # Current Run $TrackingUpdateRun = Get-Content (Join-Path $OfflineLogPath\UpdateRun.json) -raw -ErrorAction Continue | ConvertFrom-Json # Current Update status [xml]$updateStatus = Get-Content (Join-Path $OfflineLogPath\UpdateStatus.xml) -raw -ErrorAction Continue Remove-Item -path $OfflineLogPath -Recurse -force } else { throw "Unexpected Error. Unknown parameterset" } #endregion # if there's an update running, get duration, and save name for later. if ($UpdateInFlight) { Write-CustomLog "[$Stamp] Update $($UpdateInFlight.DisplayName) is $($UpdateInFlight.state)" $Banner = "$($UpdateInFlight.DisplayName) - $($UpdateInFlight.State.ToString())" $GLOBAL:TrackingUpdateRunUniqueName = $TrackingUpdateRun.Name $UpdateCardTemplate = $GLOBAL:UpdateInProgressTemplate $totalDuration = Format-TimeSpan $TrackingUpdateRun.duration } else { $latestUpdate = $AllUpdates | Select-Object -first 1 if ($latestUpdate) { $Banner = "$($latestUpdate.DisplayName) - $($latestUpdate.State.ToString())" } else { $Banner = 'Azure Stack Hub Update Status' } Write-CustomLog "[$Stamp] No Updates in progress according URP. (Can be transient)" $UpdateCardTemplate = $GLOBAL:UpdateNotRunningTemplate } # if the update is preparing, we can get the preparation steps in progress if ($UpdateInFlight.State -eq 'Preparing') { $PrepProgress = $TrackingUpdateRun | Select-Object -expand ProgressStep | Select-Object Name, Status Write-CustomLog "[$Stamp] Steps in progress:" $PrepProgress | ForEach-Object { Write-CustomLog (("[$Stamp] {0}" -f $_.Name).PadRight(75) + $_.Status) } Write-CustomLog "[$Stamp] Update Duration: $totalDuration" } # the previous run errored, we want logs. # TO DO, make these logs targetted if ($latestUpdate.State -in 'PreparationFailed', 'InstallationFailed') { $collectAzsLogs = $true } # Get previous duration if the update is installed if ($latestUpdate.State -eq 'Installed') { $latestUpdateRun = Get-AzsUpdateRunWithRetries -Stamp $Stamp -retrySeconds $retrySeconds -UpdateName $latestUpdate.Name $totalDurationFinal = Format-TimeSpan $latestUpdateRun.duration } #endregion # formatting last few bits $updateHistory = $AllUpdates | Select-Object Location, DisplayName, @{label = 'State'; Expression = { $_.State.tostring() } }, VersionNumber $UpdateSummary = Get-UpdateSummary -UpdateStatus $updateStatus # Gather cmdlet used and version $moduleVersion = $MyInvocation.MyCommand.Module.Version $moduleName = $MyInvocation.MyCommand.Module.Name $commandletName = (Get-PSCallStack)[-2].Command # Create PSObject of progress data in "i hate nulls and ints" mode $UpdateData = New-Object -TypeName PSObject -Property @{ ShowScopedRepair = $null -ne $UpdateProgress.ShowScopedRepair showPrepProgress = $null -ne $PrepProgress ShowStampInfo = $null -ne $StampInformation showDuration = $null -ne $totalDuration ShowHistory = $null -ne $updateHistory ShowProgress = $null -ne $UpdateSummary.updateProgress ShowBridge = $null -ne $BridgeInformation Banner = if ($Banner) { $Banner } else { "Azure Stack Update" } totalDuration = if ($totalDurationFinal) {$totalDurationFinal} else {$totalDuration} Stamp = New-Object -TypeName PSObject -Property @{ AdminPortal = $StampInformation.AdminExternalEndpoints.AdminPortal TenantPortal = $StampInformation.TenantExternalEndpoints.TenantPortal Prefix = $StampInformation.Prefix Hardware = $StampInformation.HardwareOEM NumberOfNodes = "$($StampInformation.NumberOfNodes)" Version = $StampInformation.StampVersion CloudId = $StampInformation.CloudId Name = $Stamp } Update = New-Object -TypeName PSObject -Property @{ Duration = if ($totalDuration) { $totalDuration } else { '' } Status = if ($UpdateInFlight.State) { $UpdateInFlight.State.ToString() } else { '' } Prep = if ($PrepProgress) {$PrepProgress} else {''} Summary = if ($UpdateSummary.summary) { $UpdateSummary.summary } else { '' } UpdateProgress = if ($UpdateSummary.updateProgress) { $UpdateSummary.updateProgress } else { '' } UpdateHistory = if ($updateHistory) { $UpdateHistory } else { '' } UpdateName = if ($TrackingUpdateRun.Name) { $TrackingUpdateRun.Name } else { $latestUpdateRun.Name } } BridgeInformation = $BridgeInformation commandletName = if ($commandletName) { $commandletName } else { '' } moduleVersion = if ($moduleVersion) { "$moduleVersion" } else { '' } moduleName = if ($moduleName) { $moduleName } else { '' } ShowEnvDetail = if ($HideEnvironmentDetail) { 'false' } else { 'true' } ShowNoEnvDetail = if ($HideEnvironmentDetail) { 'true' } else { 'false' } Brief = [bool]$Brief } # Get Update Detail Adaptive Card Template if there's an audience. if ($AudienceUri) { $TeamsMessageContent = Format-TeamsMessage -JsonTemplate $UpdateCardTemplate -AdaptiveCardData $UpdateData if ($TeamsMessageContent -ne $GLOBAL:previousAudienceMessage -or -not $Brief) { Send-MessageContent -uri $AudienceUri -MessageContent $TeamsMessageContent $GLOBAL:previousAudienceMessage = $TeamsMessageContent } else { Write-CustomLog ($localizedText.SameAsPreviousMessage -f 'Audience', $Brief) } } else { Write-CustomLog "[$Stamp] Skipping Adaptive card. No Audience." } if ($OperatorUri) { $OperatorText = Get-OperatorUpdate -updateData $UpdateData $OperatorUpdateMessage = Format-OperatorMessage -Message $OperatorText if ($GLOBAL:PreviousOperatorMessage -ne $OperatorUpdateMessage -or -not $Brief) { foreach ($Uri in $OperatorUri) { Invoke-RestMethod -Uri $Uri -Method Post -Body $OperatorUpdateMessage -ContentType 'application/json' | out-Null } } else { Write-CustomLog ($localizedText.SameAsPreviousMessage -f 'Operator', $Brief) } $GLOBAL:PreviousOperatorMessage = $OperatorUpdateMessage } } catch { $OperatorCatchMessage = "We hit a problem sending data from the stamp to teams: `nError: `n{0}. `nUpdate Data: `n {1}" -f $_.exception.message, $OperatorUpdateMessage Write-CustomLog "[$Stamp] $OperatorCatchMessage" Send-TextMessage -uri $OperatorUri -message $OperatorCatchMessage } finally { if ($pepSession -and $disposePEP) { Write-CustomLog "[$Stamp] Closing Pepsession" Close-PepSession -Stamp $Stamp } else { Write-CustomLog "[$Stamp] Leaving Pepsession open." } if ($collectAzsLogs) { $pepsession = Get-PepSession -stamp $stamp -PepCredential $PepCredential Write-CustomLog "[$Stamp] Sending Azure Stack Logs." $pepsession = Get-PepSessionWithRetries -stamp $stamp -retrySeconds $retrySeconds -PepCredential $PepCredential Invoke-PepCommand -PepSession $pepSession -ScriptBlock { Send-AzureStackDiagnosticLog -FitlerByRole SeedRingServices } -AsJob Send-TextMessage -uri $OperatorUri -message "[$Stamp] Sending Azure Stack Logs." } if ($updatesFromURP) { $updatesFromURP | ConvertTo-Json -depth 15 -WarningAction SilentlyContinue | Out-File $logPath\AllUpdates.json } if ($StampInformation) { $StampInformation | ConvertTo-Json -depth 15 -WarningAction SilentlyContinue | Out-File $logPath\StampInformation.json } if ($UpdateStatus) { $UpdateStatus | Out-File $logPath\UpdateStatus.xml } if ($UpdateData) { $UpdateData | ConvertTo-Json -Depth 20 -WarningAction SilentlyContinue | Out-File $logPath\UpdateData.json } if ($latestUpdateRun) { $latestUpdateRun | ConvertTo-Json -depth 15 -WarningAction SilentlyContinue | Out-File $logPath\UpdateRun.json } if ($TeamsMessageContent) { $TeamsMessageContent | Out-File $logPath\TeamsAudienceMessageContent.json } if ($OperatorUpdateMessage) { $OperatorUpdateMessage | Out-File $logPath\TeamsOperatorContent.json} if ($OperatorCatchMessage) { $GLOBAL:previousAudienceMessage = 'ERROR'; Write-CustomLog "Forcing card next time" } if ('Webhook' -in $GLOBAL:LogActionlog) { # send operator the log if logging on, highlight important messaging $TeamsMessageContent = Format-OperatorMessage -message (Get-Content (Join-Path $logPath AzsMgmtTeams.log)) foreach ($connector in $OperatorUri) { Invoke-RestMethod -Uri $connector -Method Post -Body $TeamsMessageContent -ContentType 'application/json' } } $zipFile = "{0}\AzsTeamsIntegrationLogs_{1}.zip" -f ((Split-Path $logPath -Parent), (Split-Path $logPath -Leaf)) Write-CustomLog "[$Stamp] Zipping logs. $zipFile" Compress-Archive -Path $logPath -DestinationPath $zipFile Write-CustomLog "[$Stamp] Removing $logPath" Remove-Item -Path $logPath -Recurse -Force -ErrorAction SilentlyContinue } } Export-ModuleMember -Function Send-AzsUpdate function Watch-AzsUpdate { <# .SYNOPSIS Continually monitor Updates for changes and invoke updates to operators and audiences. .DESCRIPTION Runs in loop every minute for (configurable) totalMinutes, default 7200. Each iteration checks if the operators or the audiences should updated as per OperatorFreqency and AudienceFrequency respectively. If Operators should be updated, the status of the most recent update is retrieved and changes (name, duration, status) are determined. If Audiences should be updated and changes are detected, both audiences and operators receive an update. If Audiences are not to be updated, i.e. update has changed but AudienceFrequency (a update) isn't due, the operators get a short status update. .EXAMPLE PS C:\> $OperatorUri = "https://outlook.office.com/webhook/<etc>" PS C:\> $AudienceUri = "https://outlook.office.com/webhook/<etc>" PS C:\> $Bridge = "https://teams.microsoft.com/l/meetup-join/<etc>" PS C:\> $stamp = "Prod" PS C:\> Watch-AzsUpdate -AudienceUri $AudienceUri -OperatorUri $OperatorUri -Stamp $stamp -BridgeInformation $Bridge -AudienceFrequency 30 Updates audience every 30 minutes and operators (default) every 15 minutes for stamp "Prod" .PARAMETER OperatorFrequency How often (approximately) the monitor the update for Operators. Must be 5, 10, 15 (default) or 30. .PARAMETER AudienceFrequency How often (approximately) the monitor the update for Audiences. Must be 30 or 60. .PARAMETER AudienceUri Uri(s) to send Audience status updates .PARAMETER OperatorUri Uri(s) to send Operator status updates .PARAMETER Stamp An Azs.Management construct that is passed to PEP and ARM connections. Stamps must be onboarded in Azs.Management using Add-Stamp. .PARAMETER PepCredential An Azs.Management construct that is passed to PEP connections. Cloud Admin credential for PEP connections. .PARAMETER UpdateStatus NOT YET IMPLEMENT. FOR OFFLINE UPDATES .PARAMETER StampInformation NOT YET IMPLEMENT. FOR OFFLINE UPDATES .PARAMETER DisposePEP Close the PEP Session after every iteration. .PARAMETER Brief Messages will not be delivered if the previous message content was the same. .PARAMETER Log Saves zip of diagnostic data for troubleshooting .PARAMETER LogPath Saves zip of diagnostic data for troubleshooting .PARAMETER RetrySeconds Wait in seconds for retries connecting to ARM and PEP. Default is 30 .PARAMETER TotalMinutes Total runtime in minutes. Defaults to 7200 minutes (5 days) .PARAMETER BridgeInformation Optionally include bridge information on the card .PARAMETER HideEnvironmentDetail Optionally hide environment on teams cards. .NOTES To be run on a workstation, server or jumpbox with PowerShell 7 and has connectivity WINRM to PriviledgedEndpoint, and HTTPS connectivity Azure Resource Manager on Azure Stack Stack Hub and HTTPS connectivity the target webhook. Operators are assumed to have access to the audience channel and thus do not need rich data on the update. Operators recieve update status and duration and messages about the execution of retrieving and building status updates for all. OperatorFrequency must be less than or equal AudienceFrequency, it is assumes operators need update status quicker than audiences. #> param ( [Parameter(Mandatory = $true, ParameterSetName = 'PEP')] [ArgumentCompleter( { (Get-Stamp).Name | Sort-Object })] [string] $Stamp, [Parameter(Mandatory = $false, ParameterSetName = 'PEP')] [pscredential] $PepCredential, [Parameter(Mandatory = $false, HelpMessage = 'Uri(s) to send Audience status updates')] [System.Uri[]] $AudienceUri, [Parameter(Mandatory = $false, HelpMessage = 'Uri(s) to send Audience status updates')] [System.Uri[]] $OperatorUri, [Parameter(Mandatory = $false, HelpMessage = 'How often (approximately) the monitor the update for Operators. Must be 5, 10 or 15')] [ValidateSet(10, 15, 30)] $OperatorFrequency = 15, [Parameter(Mandatory = $false, HelpMessage = 'How often (approximately) to send the update to the audiences. Must be 30 or 60')] [ValidateSet(10, 30, 60)] $AudienceFrequency = 30, [Parameter(Mandatory = $false, HelpMessage = 'Optionally include bridge information on the card')] $BridgeInformation, [Parameter(Mandatory = $false, HelpMessage = 'Messages will not be delivered if the previous message content was the same.')] [switch]$Brief, [Parameter(Mandatory = $true, ParameterSetName = 'File', HelpMessage = 'Use offline Stamp Information JSON status of update')] [psobject] $StampInformation, [Parameter(Mandatory = $false, ParameterSetName = 'PEP', HelpMessage = 'Force PEP disconnect after every run.')] [switch]$DisposePEP, [Parameter(Mandatory = $false, HelpMessage = "Logs write to console and disk by default, valid values 'File','Console','WebHook' where Webhook is the operator webhook by default")] [ValidateSet('Console','File','WebHook')] [string[]]$LogAction = @('File','Console'), [Parameter(Mandatory = $false, HelpMessage = 'Customize log path')] [string]$LogPath = (Join-Path "$HOME" ".AzsMgmtTeams"), [Parameter(Mandatory = $false, HelpMessage = 'Wait in seconds for retries connecting to ARM and PEP. Default is 30')] [int]$RetrySeconds = 30, [Parameter(Mandatory = $false, HelpMessage = 'Total runtime in minutes. Defaults to 7200 minutes (5 days)')] $totalMinutes = 7200, [Parameter(Mandatory = $false, HelpMessage = 'Optionally hide environment on teams cards')] [switch]$HideEnvironmentDetail ) $GLOBAL:previousAudienceMessage = 'PLACEHOLDER' $GLOBAL:previousOperatorMessage = 'PLACEHOLDER' $i = 0 $opCount = 0 $audCount = 0 try { if (-not $PepCredential -and -not (Get-AzsStamp -Stamp $Stamp).CloudAdminUser.VaultName) { Write-Warning $localizedText.NoPepCredentialsWarning } if (-not $AudienceUri -and -not $OperatorUri) { throw $localizedText.NoUriWarning } # Validate PEP connectivity try { $pepSession = Connect-AzsPepSession -Stamp $Stamp -PepCredential $PepCredential -errorAction Stop } catch { $pepError = $_.exception.message } if ($pepSession.State -ne 'Opened') { throw $localizedText.NoPepConnection -f $pepError } # check ARM connectivity try { Connect-AzsArmEndpoint -Stamp $Stamp $validateUpdates = Get-AzsUpdate } catch { throw $localizedText.NoARMConnection -f $_.exception.message } while ($i -le $totalMinutes) { try { # determine if operators and audiences should get an update $totalPercentage = (($totalMinutes - $i) / $totalMinutes) * 100 $showOperator = if (($i % $OperatorFrequency) -eq 0) { $opMinus = 0 $opMinusPercent = 0 $opCount = 0 $OperatorUri } else { $opCount++; $opMinus = $OperatorFrequency - $opCount $opMinusPercent = ($opMinus / $OperatorFrequency) * 100 $null } $showAudience = if (($i % $AudienceFrequency) -eq 0) { $audMinus = 0 $audMinusPercent = 0 $audCount = 0 $AudienceUri } else { $audCount++ $audMinus = $AudienceFrequency - $audCount $audMinusPercent = ($audMinus / $AudienceFrequency) * 100 $null } Write-Progress -id 1 -activity "Forwarding Azure Stack Update Status" -status "Total Monitoring Runtime" -percentComplete $totalPercentage Write-Progress -id 2 -parentId 1 -activity "Audience Forwarding" -status "Audience Update in $audMinus minutes" -percentComplete $audMinusPercent Write-Progress -id 3 -parentId 1 -activity "Operator Forwarding" -status "Operator Update in $opMinus minutes" -percentComplete $opMinusPercent if ($showAudience -or $showOperator) { $PSBoundParameters['AudienceUri'] = $showAudience $PSBoundParameters['OperatorUri'] = $showOperator $PSBoundParameters.Remove('OperatorFrequency') | Out-Null $PSBoundParameters.Remove('AudienceFrequency') | Out-Null Send-AzsUpdate @PSBoundParameters } Start-Sleep -Seconds 60 $i++ } catch { Write-Warning ($localizedText.Exception -f $($_.exception.message)) } } } catch { throw ("Watch-AzsUpdate had a problem: Error: {0}" -f $_.exception.message) } finally { Close-AzsPepSession -Stamp $Stamp -ErrorAction SilentlyContinue } } Export-ModuleMember -Function Watch-AzsUpdate # SIG # Begin signature block # MIIjmwYJKoZIhvcNAQcCoIIjjDCCI4gCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDYXLdAqmnhrtir # v7InhhSmXA90lkLRrv9waQZkYRMZz6CCDYEwggX/MIID56ADAgECAhMzAAAB32vw # LpKnSrTQAAAAAAHfMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpX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