PowerShell Learning Summary--powershell from the zero-start series four

Source: Internet
Author: User

Can insist on seeing the students here, I believe that the use of PowerShell command should not be unfamiliar, because the contents of the later more complex, so must be familiar with PowerShell command

Here to prepare some basic topics, interested must be hands-on operation :

    • How to view the Wuauserv service health status

    • How to stop the Wuauserv service

    • How to view the Explorer process

There are server conditions that you can try the following actions

    • View ad users under a specific OU

    • View all Exchange users

    • Create a new Exchange mailbox

    • View transfer logs from the day before












When the answer comes:

    • Get-service wuauserv

    • Stop-service wuauserv

    • Get-process Explorer

    • Get-aduser-searchbase "Ou=xxx,dc=contoso,dc=com"

    • Get-mailbox

    • New-mailbox

    • Get-messagetrackinglog-start "2018/4/9"-end "2018/4/10"


By the way, the command to complete an operation is not fixed, such as stopping the service, there are many ways to achieve, this is temporarily not announced, left to the back of the practice







PowerShell Learning Summary--powershell from the zero-start series four

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.