Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

creating a numbered list for output of some commands

$
0
0

hello

when we run this command:

Get-WindowsFeature | where installed -match'true' | select name

output is like this:

telnet-client

telnet-server

powershell

search-service

etc

via what code we can cause the output be a numbered list like this:

1.telnet client

2.telnet server

3.powershell

4.search-service

 

thanks a lot


Viewing all articles
Browse latest Browse all 6937

Trending Articles