I need to refresh an excel using Powershell script (so that I can later schedule it in task scheduler). This refresh requires credentials to be entered. Does anyone know of a way to pass these credentials from the powershell script? The excel hangs at RefreshAll() for the user to enter the credentials.
Asked
Active
Viewed 280 times
0
-
share the code. what do you mean by refresh. Are you trying to reload the file? – Ranadip Dutta May 17 '17 at 08:14
1 Answers
0
You could probably use the pscredential object to provide the credentials. It is possible to store it to a file (encrypted).
Might be what you are looking for.

Community
- 1
- 1

Kjetil Mæland
- 39
- 4