- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2016 05:48 AM
Is that any way of configuring credentials at one time? Or we need to give every time when we run a command.
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2016 10:16 PM
I don't have a lot of experience PowerShell remoting since we run most of our stuff on the local mid server using its service's credentials, but I think you need to pass the credentials in using the -credential parameter like:
-credential $cred
See this wiki for reference: Orchestration PowerShell Activities - ServiceNow Wiki
And this other community post has an example:
Unable to run remote command through Powershell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2016 10:41 PM
Thanks Robert. Now it is working after giving credential parameter.