Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Display PowerShell Information One Page at a Time

$
0
0

Summary:  Use the More function to display Windows PowerShell information one page at a time.

 

Hey, Scripting Guy! Question How can you cause Windows PowerShell to easily display information one console screen at a time?

Hey, Scripting Guy! Answer Use the More function:

            Get-Command –Command cmdlet | select name, module | more

 

Hey, Scripting Guy! Question Wow, the More function is cool. Can I use that inside the Windows PowerShell ISE?

Hey, Scripting Guy! Answer No. You can only use the More function inside the Windows PowerShell console.

 

Hey, Scripting Guy! Question By the way, how did you know that More was a function, not a cmdlet or a native command?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet:

           Get-Command more


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>