Skip to content

Commit 1b53d99

Browse files
authored
Update Move-ListOfAgents.ps1
1 parent fc74ef6 commit 1b53d99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Powershell/Agents Failover/Move-ListOfAgents.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ foreach ($line in ($AgentList -split "`n"))
2424
{
2525
$i++
2626
$i = $i
27-
Write-Progress -Activity 'Running' -Status 'Script is executing' -PercentComplete $($i/$SCOMAgents.count * 100)
27+
2828
#Remove Failover Management Server
2929
Write-Output "($i/$(($AgentList.Trim() -split "`n").Count)) $($agent.DisplayName)`n Removing Failover: $(($agent.GetFailoverManagementServers()).DisplayName -join ", ")"
3030
$agent | Set-SCOMParentManagementServer -FailoverServer $null | Out-Null

0 commit comments

Comments
 (0)