Wildcard character (*) is very useful in PowerShell. If you forget the cmdlet name, you can try to use * to help you. For example, I'd like to enter Get-WindowsFeature. I can enter the following to help myself.
Then, press "Tab".
PowerShell automatically show the completed cmdlet.
Or, I can use * character to search the service of Terminal service name like this.
Get-Service Te*Se*
Then, press "Tab".
Using wildcard character and tab in PowerShell, it's easy for us to find something.
Or, I can use * character to search the service of Terminal service name like this.
Get-Service Te*Se*
This posting is provided “AS IS” with no warranties, and confers no rights!
No comments:
Post a Comment