Automation of Storage Foundation for Windows (SFW) operations using PowerShell scripts
Use the framework to create your own custom scripts in Powershell to automate the SFW operations.
For informtion about the framework, see:
http://www.symantec.com/docs/TECH224766
Products supported:
- Symantec Storage Foundation 6.0 for Windows and later
- Symantec Storage Foundation and High Availability 6.0 for Windows and later
Operating systems supported:
- Windows Server 2008 SP2, Windows Server 2008 R2
- Windows Server 2012, Windows Server 2012 R2
The following cases are addressed by the sample scripts:
Case 1: Run one or more SFW commands on multiple systems
This sample script runs SFW commands on local and remote systems simultaneously. Use this script to query information such as SFW product version, disks, disk groups, and volumes configured, and active SFW tasks running on the systems.
Case 2: Run one or more SFW commands on specific systems
This sample script runs specific SFW commands on specific local and remote systems simultaneously. Use this script to perform basic SFW operations such as creating disk groups and volumes, and adding a mirror for an existing volume.
Case 3: Run a command with arguments on specific systems
This sample script runs SFW commands with arguments on specific local and remote systems simultaneously. Use this script to perform SFW operations that require multiple arguments, such as Volume Shadow Service (VSS) and volume level snapshotting operations that include preparing a snapshot, taking a snapshot, and running snapback.