Skip to content

Commit cd7e8ef

Browse files
authored
Fix variable values 📜
1 parent fd4ee57 commit cd7e8ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Powershell/Agents Failover/Set-AgentFailover.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Import-Module OperationsManager
1111
#region Script Variables
1212

1313
#We will look for all Agents Managed by this Management Server.
14-
$movefromManagementServer = Get-SCOMManagementServer -Name "MS01-2019*"
14+
$movefromManagementServer = Get-SCOMManagementServer -Name "<MoveFrom_MS>"
1515

1616
#Primary Management Server
17-
$movetoPrimaryMgmtServer = Get-SCOMManagementServer -Name "MS02-2019*"
17+
$movetoPrimaryMgmtServer = Get-SCOMManagementServer -Name "<MoveToPrimary_MS>"
1818

1919
#Secondary Management Server
2020
$movetoFailoverMgmtServer = Get-SCOMManagementServer -Name '<MoveToSecondary_MS>'

0 commit comments

Comments
 (0)