Without a small workaround, it may even be impossible, even if you specify the -WindowStyle Hidden switch - this will only result in the PowerShell window ...
how-to-hide-powershell-script-code
Jun 19, 2020 — This article is part of the series "PowerShell Obfuscation". ... event 4688 (process creation) and then turn on auditing for the PowerShell command line. ... Windows shell to hide the evil code and then pipe it into PowerShell:.. Sometimes a PowerShell script should just produce something, for example a report, which then opens in Excel or notepad. You don't want to necessarily show. 939c2ea5af
hide powershell script code
Comments