Skip to content

Instantly share code, notes, and snippets.

@artisticcheese
Created November 8, 2018 17:02
Show Gist options
  • Save artisticcheese/9c855171d588296255e20178a6f7eeee to your computer and use it in GitHub Desktop.
Save artisticcheese/9c855171d588296255e20178a6f7eeee to your computer and use it in GitHub Desktop.
PS C:\Windows\system32> get-item "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList\Applications\Windows PowerShell\"
Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList\Applications
Name Property
---- --------
Windows PowerShell Name : Windows PowerShell
Path : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
VPath : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
RequiredCommandLine :
CommandLineSetting : 1
IconPath : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
IconIndex : 0
ShowInTSWA : 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment