Usually the way I tell people to run powershell jobs to ensure output, and that they are running 64-bit versions of the cmd.exe and the powershell.exe is to drag those two exe files into the Agent/Bin directory. If you don't do this, then windows will force the 32-bit agent to only run 32-bit versions of powershell.exe EVEN IF you explicitly point to the 64-bit version in windows/system32 -- it'll still redirect to windows/SysWOW64 to use the 32-bit versions. This is a bug with the Windows operating system. Very often powershell scripts running in the wrong bit-version have errors in the script.
The way I do it is like this:
1.) Copy windows/system32/cmd.exe and windows/system32/powershell.exe into the Agent/Bin directory
This will ensure that the 64-bit versions are running by the agent. If you run it this way, the output will be printed to the output tab of the job. No need to write a batch script to call the powershell script.
A good way to verify the bit version the job is running inside is to open a task manager on the agent machine and look at the cmd.exe tasks. If the job becomes active and the new cmd.exe has nothing after it, it is 64-bit. If it has (32-bit) after, it is 32-bit.
We are running 3.2 and seeing some strange forwarding that appears to be triggered from an external device sending ICMP redirect messages. What does ACI do with ICMP Redirect messages? Does it adjust the Coop or Endpoint forwarding as a reactio...
We have deployed a new UCS and ACI fabric and have noticed some odd behaviors in respect the presence of the MAC address that is assigned to FIA showing up on the port-channel designated for FIB. The connection is simple, VPC between 2 leafs to each...
When I am configuring SNMP on Nexus I am getting the below error. localized auth key should start with 0x[Hex Digits]snmp-server user <username> network-admin auth md5 <password> localizedkey. Can anyone share the working SNMP v3 con...
HI Guys,I have a switch Nexus 3064PQ stuck at bios. *(c) Copyright 2011, Cisco Systems.N3000 BIOS v.1.7.0, Mon 10/14M Unable to boot past this.Anyone has already idea what's wrong with this? Thanks in advance!
Join Cisco experts for the exclusive look into Cisco #ACI capabilities with the NEW series of #ACI Ask the Experts sessions: http://cs.co/9009HL0PV Adapting to Changes: DevOps Trends and Cisco ACI April 26 Troubleshooting Best Pr...