Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Script to recall all vaulted items in the file server

Created: 01 Apr 2014
John Santana's picture
+1 1 Vote
Login to vote

Here's the Powershell script that you can run from within the File Server to dump everything from the FSA VaultStore:

the attached file must be renamed into .PS1 to be executed though the Powershell console.
 
** Requires Powershell be installed on the File server
** Requires Powershells' execution policy be set to 'remote signed' this can be done by launching powershell and running
** set-executionpolicy remotesigned
** Once the actions are done, the execution policy should be set back to it's desired state
 
 
Extrace the Powershell file to a directory on the file server on which you wish to process.
To invoke the script simply run the following at the command line on the file server
C:\>powershell "& '**path**\ps.ps1'"
 
e.g.
 
C:\>powershell "& 'e:\EV\Test\ps.ps1'"
 
User will be prompted to enter the path to process - and will be interactively prompted if 'best practice' setting are not already set on the file server (note if the settings are changed a cycle of the Placeholder service will be required, and the user will be prompted to do so - however if they answer no to the request to change the settings or cycle the service the script will exit.
 
The script will output a file named test1.txt in the same location as the script resides.
 
hope that helps.