Last active
August 29, 2015 14:05
-
-
Save mbrownnycnyc/8c498a084e21121b86da to your computer and use it in GitHub Desktop.
Put a Dell AppAssure core server into "maintenance mode"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://support.software.dell.com/kb/119400 | |
Import-Module AppAssurePowerShellModule | |
Suspend-Snapshot –All | |
Suspend-Replication -outgoing [hostname of remote core] -all | |
Suspend-Replication -incoming [hostname of remote core] -all | |
Suspend-Vmexport –All | |
if ( $(Get-ActiveJobs –All) -like "%no jobs%" ) {echo "what!"} # "No jobs of the specified type were found on the core." note that you will have to use dotpeek on the dll returned by `Get-Module AppAssurePowerShellModule | fl path` to actually see what the hell is going on here. | |
Set-Service AppAssureCore -StartupType Disabled | |
Stop-Service AppAssureCore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment