Export List of Running and Stopped Services in Windows  

Page 2 of 2 FirstFirst 12

  1. Posts : 68,995
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #10

    Thank you @Paul Black.
      My Computers


  2. Posts : 7,607
    Windows 10 Home 20H2
       #11

    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 -AutoSize
    Code:
    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
      My Computer


  3. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #12

    Hello @Matthew Wai,

    Matthew Wai said:
    Paul Black's PowerShell commands can be used in Command Prompt if they are used in the following forms: . . .

    I actually do run them in the Command Prompt exactly as you have written. I just adapted them for PowerShell for my post.

      My Computer


  4. Posts : 102
    Windows 10 Pro
       #13

    Does this apply to Windows 11 too?
      My Computer


  5. Posts : 68,995
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #14

    Octopuss said:
    Does this apply to Windows 11 too?
    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.
      My Computers


 

Tutorial Categories

Export List of Running and Stopped Services in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:26.
Find Us




Windows 10 Forums