Skip to content

Instantly share code, notes, and snippets.

@mbrownnycnyc
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbrownnycnyc/8c498a084e21121b86da to your computer and use it in GitHub Desktop.
Save mbrownnycnyc/8c498a084e21121b86da to your computer and use it in GitHub Desktop.
Put a Dell AppAssure core server into "maintenance mode"
#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