02-03-2015 09:49 AM
Windows 2008 R2
I have a Powershell script that takes searched items from DA and deletes them from the assocaited archive. When I Invoke the deleteo2k.asp in my script I get an Access denied due to invalid credentials. I am running this as the VSA.
Unfortunately I cannot cut and paste the output.
How do I provide the proper credentials to execute deleteo2k.asp?
02-03-2015 10:33 AM
you need to grant the VSA permissions to the archive that you're trying to delete from. you can do that from the console if it's for a single archive or using EVPM if you want to batch it
02-03-2015 10:43 AM
Yeah. The VSA already has permission.
02-04-2015 12:53 PM
I determined that the web credentials are needed to communicate to EV. I will have to figure out how to pass the credentials in my Powershell script and then include these in the Invoke-Webrequest which calls the deleteo2k.asp command.