Category: Scripts 🠪 Powershell Determine if Powershell is running in GUI or not
November 29, 2023
if ( ! ($PSISE -or $host.name.Contains('Studio'))) {
Keywords: VS Code, Powershell ISE
This site is meant to be used as a reference for myself, although others may find it useful. I use it to keep track of certain fixes, software, and other solutions which I may need while assisting customers. The page layout is pure HTML/CSS and is kept simple to optimize loading time and fast results.