We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd4ee57 commit cd7e8efCopy full SHA for cd7e8ef
1 file changed
Powershell/Agents Failover/Set-AgentFailover.ps1
@@ -11,10 +11,10 @@ Import-Module OperationsManager
11
#region Script Variables
12
13
#We will look for all Agents Managed by this Management Server.
14
-$movefromManagementServer = Get-SCOMManagementServer -Name "MS01-2019*"
+$movefromManagementServer = Get-SCOMManagementServer -Name "<MoveFrom_MS>"
15
16
#Primary Management Server
17
-$movetoPrimaryMgmtServer = Get-SCOMManagementServer -Name "MS02-2019*"
+$movetoPrimaryMgmtServer = Get-SCOMManagementServer -Name "<MoveToPrimary_MS>"
18
19
#Secondary Management Server
20
$movetoFailoverMgmtServer = Get-SCOMManagementServer -Name '<MoveToSecondary_MS>'
0 commit comments