PowerShell closes immediately upon startup, even when running ISE or as an Admin.

M

MircoFox

I've tried many many things to get Powershell to work, such as:Turning PowerShell on and off in optional features and restarting.System maintenance.powershell -noexitpowershell -noprofileDISM.exe /Online /Cleanup-image /Restorehealth followed by sfc.exe /scannow.Removing anything I have downloaded such as antivirus apps, etc. that might potentially cause a problem.Even after trying all of these methods I am still met with this exact same error message:Windows PowerShell terminated with the following error: The type initializer for 'System.Management.Automation.Runspaces.InitialSessionState' t

Continue reading...
 
Back
Top Bottom