Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b53d99 commit 003a3efCopy full SHA for 003a3ef
Powershell/Agents Failover/Move-GrayAgents.ps1
@@ -32,7 +32,7 @@ foreach ($agent in $scomAgent)
32
{
33
$i++
34
$i = $i
35
- Write-Progress -Activity 'Running' -Status 'Script is executing' -PercentComplete $($i/$scomAgent.count * 100)
+
36
$scomAgentDetails = Get-SCOMAgent -ManagementServer $movefromManagementServer | Where { $_.DisplayName -match $agent.DisplayName }
37
if ($scomAgentDetails)
38
0 commit comments