New
#1
How can cmd script check for powershell environment?
I can execute script abc.cmd in either a command prompt or powershell environment/window.
Can it determine the environment in which it runs?
Powershell 5, W10Pro64, 1803
Thank you and a Merry Christmas.