Skip to content
ohsudo, Home

Tags

#powershell

is not recognized as the name of a cmdlet
Windows

PowerShell "is not recognized as the name of a cmdlet": find out why it can't see the command

Fix PowerShell "is not recognized as the name of a cmdlet, function, script file": check the spelling, PATH, the .\ prefix for scripts and missing modules, step by step.

Beginner · 3 min read

running scripts is disabled
Windows

PowerShell "running scripts is disabled on this system": fix the execution policy safely

Fix PowerShell "cannot be loaded because running scripts is disabled": check the execution policy, use RemoteSigned for your user, and unblock downloaded scripts.

Beginner · 3 min read

trust relationship failed
Windows

Windows "The trust relationship between this workstation and the primary domain failed": fix it without rejoining

Fix "The trust relationship between this workstation and the primary domain failed": repair the computer account password with PowerShell, without rejoining the domain.

Intermediate · 4 min read