Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 003a3ef

Browse files
authored
Update Move-GrayAgents.ps1
1 parent 1b53d99 commit 003a3ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Powershell/Agents Failover/Move-GrayAgents.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)