VMware VCENTER CONFIGURATION MANAGER 5.3 - SOFTWARE CONTENT REPOSITORY TOOL GUIDE Guide de l'utilisateur Page 214

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 254
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 213
214 | Scripting
About PowerShell Scripting in AppAssure 5
Windows PowerShell is a Microsoft .NET Framework-connected environment
designed for administrative automation. AppAssure 5 includes comprehensive client
software development kits (SDKs) for PowerShell scripting that lets administrative
users execute user-provided PowerShell scripts at designated occurrences; for
example, before or after a snapshot, attachability and mountability checks, and so
on. Administrators can execute scripts from both the AppAssure 5 Core and the
Agent. Scripts can accept parameters, and the output of a script is written to core
and agent log files.
Script files are located in the %ALLUSERSPROFILE%\AppRecovery\Scripts folder.
In Windows 7, the path to locate the %ALLUSERSPROFILE% folder is:
C:\ProgramData.
In Windows 2003, the path to locate the folder is: Documents and Settings\All
Users\Application Data\.
Prerequisites for PowerShell Scripting
Before using and executing the PowerShell scripts for AppAssure 5, you must have
Windows PowerShell 3.0 installed.
powershell.exe.config
<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0.30319"/>
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>
For nightly jobs, you should preserve one script file and the JobType input parameter to
distinguish between nightly jobs.
Windows PowerShell is required and must be installed and configured prior to using and
executing AppAssure 5 scripts.
Make sure to place the powershell.exe.config file in the PowerShell home directory. For example,
C:\WindowsPowerShell\powershell.exe.
Vue de la page 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 253 254

Commentaires sur ces manuels

Pas de commentaire