Run CMD in MID Server through Script in Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 11:16 PM
I have installed AWS Command Line Interface (CLI) in my MID Server. Thus, by running Windows CMD, i can move files from local MID Server to AWS S3 Bucket.
Question :
1. How I can run CMD command through my Instance like scripting in Script Include, or Scheduled Job?
2. How to capture response in CMD (after command) into ServiceNow system log?
The reason is I need to automate the job without manually run CMD in MID Server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 11:22 PM
you can run it via powershell using ecc queue
Trying to trigger a .cmd to run on the MIDServer with no success....
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader