New Training: The Pipeline!
In this 6-video skill, CBT Nuggets trainer Garth Schulte teaches you the purpose of the Get-Command, Get-Help, and Get-Member cmdlets. Learn how to search for commands by using Get-Command, how to view documentation by using Get-Help, how to query the members of an object by using Get-Member, and how to get help in PowerShell. Watch this new Windows Server training.
Watch the full course: Programming Foundations with PowerShell 7
This training includes:
- 6 videos
- 34 minutes of training
You’ll learn these topics in this skill:
- The Pipeline! Introduction
- How the Pipeline Works
- Pipeline Chain Operators
- Pipeline Challenges
What are Some Common Uses for “Get” in PowerShell?
PowerShell is a command-line shell and scripting language built on top of the .NET Command Language Runtime (CLR). This shell provides enhanced functionality over the traditional command-line shell as it allows for sending and receiving objects built on the .NET framework.
One of the most powerful commands within the PowerShell Core is "Get". Get is a powerful component of the PowerShell Core as it builds the foundation for how users can access objects and information about objects with ease. Get-Command, Get-Help, and Get-Help are only a few of the various PowerShell commands that offer precise control over how objects are gathered, presented, and processed.
For instance, Get-Command allows for various variables to be passed along with the command returning everything from all of the PowerShell cmdlets available to functions and aliases installed on the computer. By familiarizing oneself with all of the various PowerShell commands, a user not only has access to a higher level of control and insight into their system, they'll also benefit from using one of the only object-based command-line tools available built on the .NET framework.