In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
"if you don't want to take the time to read PowerShell's help documentation, you can't use PowerShell efficiently, and it's hard to learn how to use it further, let alone use it to manage products like Windows or Exchange, and eventually you can't get rid of the way you use GUI."
This sentence is not only the original words in the book, but also the real, true and good advice. I copy it here to remind myself that I must study calmly.
Update PowerShell help
By default, PowerShell's help files need to be updated to come to this machine.
First update the local help file, run [update-help], must be online, must have administrator privileges.
After the update is complete, you can view the help file locally.
[save-help]: unable to connect to the Internet, you can download and store the help file in a network share, and then update it with [update-help-SourcePath].
Keep the habit of updating every month.
Use the help system to find the commands you want
[book example]: operating system event log
[goal]: find out the relevant commands
[command]: help * log*, help * event*
If you find in the above list that it looks like the Cmdlet you need, you can use [help get-eventlog] to see how to use it.
[extended thinking]: you can use the help system to try to find other commands you want to use, such as: what are the commands related to operating on the service?
3. Direct discovery of orders
The essence of the help system is to find help files, so is there a way to find the commands you want directly? The answer is yes, that is the [Get-Command] command.
[example]: Get-Command * log*
Here, you can see that the command name contains all the results of "log", including the native Cmdlet, as well as functions and other applications. So what if you want only Cmdlet in the result set? Please try to find out the answer with the help system. This is an opportunity to practice using the help system.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.