I have a situation where I need to test the negative behavior of my product, my product executes power-shell script in 64 bit OS with 64 bit Power-shell and with 32 -bit OS it executes with 32-bit Powershell.
I am trying to cover a negative case where I will execute a PS1 script which is specific for 64 bit OS, and should through some exception on 32 bit OS, but not able to find a command.
I tried "get-localuser" but found it is working with 32 bit OS as well.
Any command which will work only on 64 bit OS but not with 32 bit OS