Microsoft Office Tutorials and References
In Depth Information
Chapter 7: Administration of Excel Services
There is no specific command-line operation for modifying existing trusted locations. To use the
command line to make changes to an existing trusted location, you need to do the following:
Remove the existing trusted location.
Add the new updated trusted location.
Executing the add-ecsfiletrustedlocation statement on an existing trusted location does not affect
the existing trusted location, and returns an error message such as the following:
Add-EcsFileTrustedLocation: Cannot add this entry to the list. An entry corresponding
to this key already exists, and duplicate entries are not supported.
The trusted location command-line feature does not support reading an existing list of trusted locations
or trusted location properties. If you want to view the existing trusted locations and their property
values, use the SSP’s Trusted File Locations administration page.
In order to work with trusted locations through the command line, you need to know the location of the
stsadm.exe file. This executable is installed on each MOSS server as part of setup, and the file is located
in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin\, for example.