Using Windows PowerShell Cmdlets
- Understanding the Basics of Cmdlets
- Typing long cmdlet names can be somewhat tedious. To simplify this process, type enough of the cmdlet name to uniquely distinguish it, and then press the Tab key on the keyboard. What is the result? Tab Completion completes the cmdlet name for you. This also works with argument names and other things you are entering.
- Because the cmdlets return objects instead of “string values,” we can obtain additional information about the returned objects. The additional information would not be available to us if we were working with just string data. To do this, we can use the pipe character (|) to take information from one cmdlet and feed it to another cmdlet.
- Leveraging the Power of Get-Command
- Using the Get-Member Cmdlet
- Using the New-Object Cmdlet
- Creating a PowerShell Profile
- Working with Cmdlets: Step-by-Step Exercises
- One Step Further: Working with New-Object
- Chapter 2 Quick Reference
转载于:https://www.cnblogs.com/BpLoveGcy/archive/2010/03/31/1701036.html
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/110792.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...