Helpful Tech Notes
Guides
Tools
Contact
Powershell
Determine if Powershell is running in GUI or not
Updated August 11 2024
Copy to Clipboard
if ( ! ($PSISE -or $host.name.Contains('Studio'))) { # Do stuff }
Search Keywords: VS Code, Powershell ISE
©2024 - Some portions of this website are Copyrighted.
Your IP:
3.144.31.17
Referring URL:
Browser:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Terms and Conditions, Privacy Policy, and Security Policy