无法在Powershell Ubuntu中运行Get Service命令
我在Ubuntu中安装了无法在Powershell Ubuntu中运行Get Service命令,powershell,Powershell,我在Ubuntu中安装了Powershell,当我尝试 Get-Service 命令,则返回一个错误: Get-Service: The term 'Get-Service' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the
Powershell
,当我尝试
Get-Service
命令,则返回一个错误:
Get-Service: The term 'Get-Service' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
我做错了什么?Get Service
是仅限windows的命令吗
Powershell版本为Powershell 7.1.0