Skip to content

Commit a62addc

Browse files
authored
Update Set-AgentFailover.ps1
1 parent 003a3ef commit a62addc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Powershell/Agents Failover/Set-AgentFailover.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ foreach ($agent in $scomAgent)
3232
{
3333
$i++
3434
$i = $i
35-
Write-Progress -Activity 'Running' -Status 'Script is executing' -PercentComplete $($i/$scomAgent.count * 100)
35+
3636
$scomAgentDetails = Get-SCOMAgent -ManagementServer $movefromManagementServer | Where { $_.DisplayName -match $agent.DisplayName }
3737
if ($scomAgentDetails)
3838
{

0 commit comments

Comments
 (0)