Hi!
I'm trying to get NCM to load a script from the hard drive of the NCM server and execute the contents. The script is dynamic and actually depends on a previous script as follows:
1. NCM get a list of mac addresses (logged in users) from a device and puts those into a text file on the server.
2. Powershell picks up that file, parses & creates a new script to be executed on the original device.
3. I'd LIKE NCM to pick up the results of the powershell script (Cisco commands) and execute at a specific hour.
I cannot figure out how to reference an external file in the command script settings.
Example:
1. At 1:00 AM, NCM gets a list of MAC addresses from a device and puts the results in a text file.
2. At 1:15, Powershell creates a new file on the hard drive containing the code snippet lines:
show detailed MAC1
show detailed MAC2
3. At 1:30, NCM should pick up the code snippet and execute on the device.
Ideas?
Thanks,
MB