I'm running this from an elevated Command Prompt on Windows 11: powershell "Get-PhysicalDisk | Formet-Table FriendlyName, MediaType, HealthStatus, OperationalStatus". Instead of showing the disk information, PowerShell says that "Formet-Table" is not recognized as a cmdlet or program. Is there a fix?
3 Answers
Newer PowerShell versions may suggest the closest matching command when a name is misspelled, but that feature depends on the version and settings. In this case, correcting `Formet-Table` to `Format-Table` is all that’s needed.
The error is pointing directly at the misspelled command. You can also check whether the disk cmdlet itself works by running `Get-PhysicalDisk` separately. For discovering commands, try `Get-Command *physical*` or use Tab completion, such as typing `For` and pressing Tab.
It’s just a typo: the cmdlet is `Format-Table`, not `Formet-Table`. Try: `powershell "Get-PhysicalDisk | Format-Table FriendlyName, MediaType, HealthStatus, OperationalStatus"`.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures