New
#10
Thank you @Paul Black.
Paul Black's PowerShell commands can be used in Command Prompt if they are used in the following forms:
Services - Running and Stopped.Code:PowerShell Get-Service^|Select StartType, Status, Name, DisplayName^|FT -AutoSize
Services - Running and Stopped [ Sorted by Name ].Code:PowerShell Get-Service^|Select Status, StartType, Name, DisplayName^|Where-Object{$_.Status -eq 'Running'}^|Sort-Object -Property Status, Name^|FT -AutoSizeCode:PowerShell Get-Service^|Select Status, StartType, Name, DisplayName^|Where-Object{$_.Status -eq 'Stopped'}^|Sort-Object -Property Status, Name^|FT -AutoSize
Services - Running and Stopped [ Sorted by StartType, Name ].Code:PowerShell Get-Service^|Select StartType, Status, Name, DisplayName^|Sort-Object -Property StartType, Name^|FT -AutoSize
Services - Running and Stopped [ Sorted by StartType, Status, Name ].Code:PowerShell Get-Service^|Select StartType, Status, Name, DisplayName^|Sort-Object -Property StartType, Status, Name^|FT -AutoSize
Hello @Matthew Wai,
I actually do run them in theCommand Prompt
exactly as you have written. I just adapted them forPowerShell
for my post.
Hello mate,
Yes, you can use it in Windows 11 as well.
Export List of Running and Stopped Services in Windows 11 Tutorial | Windows 11 Forum
Last edited by Brink; 21 Dec 2023 at 14:30.