Interactive Console Applications Are Not Supported – PowerShell ISE

When trying to run command prompt commands from PowerShell ISE, you get the following error: Cannot start “nslookup”. Interactive console applications are not supported. To run the application, use the Start-Process cmdlet or use “Start PowerShell.exe” from the File menu. To view/modify the list of blocked console applications, use $psUnsupportedConsoleApplications, or consult online help. Although […]
Continue reading…

 

Set-ExecutionPolicy Access To The Registry Key Is Denied – PowerShell

When trying to set the execution policy in PowerShell, you can get the following error: set-executionpolicy : Access to the registry key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell’ is denied. This is because PowerShell does not have administrative access to the registry. To fix this: Close PowerShell Hold down Ctrl + right click the PowerShell icon Click Run as Administrator […]
Continue reading…