I know that this is probably a really basic question but I am new to Powershell and am learning by the hour. I would like to know the differences between running a script in the ISE versus Powershell.exe? I have a module and script that I have created in the ISE and tested it there. It works as expected. However, as soon as I ran it using powershell.exe , the script ran differently. The only thing I can think is the running environment differs between the tools? Can someone point me in the direction of documentation that may clarify this?