Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET! Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET!

Perform 7 Essential IT Management Tasks with PowerShell

Windows PowerShell is an impressive scripting language which easily lends itself to writing single commands that can accomplish various tasks efficiently. Although PowerShell can be used across several different Microsoft platforms, you don’t need to feel overwhelmed by the abundance of choices that are available within the scripting language.

With this in mind, this comprehensive list of task-oriented commands from Petri IT Knowledgebase experts including; Jeffery Hicks, Flash Denning, John O’Neill Sr., and Pat Richard will make your IT work easier.

1. Getting Mailbox Sizes in PowerShell

With the Get-MailboxStatistics cmdlet, you can easily see information about your mailbox account’s display name, item count, and total item size. You can also configure the command to retrieve your mailbox size along with information about all users hosted in Exchange. Alternately, you can also determine an Office 365 mailbox size with PowerShell.

2. Changing a User Password with PowerShell

It is easy to reset user passwords using PowerShell. In Flash Denning’s article on password management, you’ll learn how to reset all local user accounts to one designated password.

Sponsored Content

Read the Best Personal and Business Tech without Ads

Staying updated on what is happening in the technology sector is important to your career and your personal life but ads can make reading news, distracting. With Thurrott Premium, you can enjoy the best coverage in tech without the annoying ads.

3. Generating a Microsoft Word Document with PowerShell

Who knew that you could use PowerShell to create and format Microsoft Word documents? Text can easily be inserted into the document with the TypeText() and TypeParagraph() methods. On a similar tangent, you can also create custom reports in Excel with PowerShell.

4. Creating and Managing Local Accounts with PowerShell

With PowerShell, it’s simple to create and setup local user accounts remotely. PowerShell also makes it possible to manage local user accounts in several different ways, such as changing the password or group membership. You can also disable or delete the account with a few lines of PowerShell code.

5. Manage Windows Updates with PowerShell

The PSWindowsUpdate module is an easy way to manage Windows update. Although you can use the Deployment Image Servicing and Management tool (DISM), John O’Neill Sr. walks through a much more elegant solution that takes out the unneeded complexity for creating a deployment image.

The Windows Update PowerShell module

The Windows Update PowerShell Module can be used to manage your Windows updates. (Photo: Petri IT Knowledgebase)

6. Grabbing a Remote Computer’s Serial Number with PowerShell

PowerShell can be advantageous for grabbing a serial number from a remote computer. This is easily done by running Windows Management Instrumentation (WMI) queries, which lets you perform tasks on local or remote computers.

7. Managing Scheduled Tasks with PowerShell

One of the great features in Windows 8 and Windows Server 2012 is the ability to create and manage scheduled tasks with PowerShell. This is particularly useful because now we don’t have to rely on the traditional schtask.exe to make changes to scheduled tasks. The scripting language also makes it easy to modify or launch scheduled tasks, as well as the ability to enable or disable a scheduled task.

Which PowerShell commands do you use to get tasks done?

Drop the author an email or touch base with her or the Petri IT Knowledgebase on Twitter, Google+, or Facebook:

Related Topics:


Don't have a login but want to join the conversation? Sign up for a Petri Account

Comments (1)

One response to “Perform 7 Essential IT Management Tasks with PowerShell”

  1. Getting Started with Microsoft's Azure Automation

    […] IT professionals are familiar with the wonders of Windows PowerShell. It's an effortless process to perform essential IT management tasks with PowerShell across several different Microsoft […]

Leave a Reply

Register for Advanced Microsoft 365 Day!

GET-IT: Advanced Microsoft 365 1-Day Virtual Conference - Live August 24th!

Join us on Tuesday, August 24th and hear from Microsoft MVPs and industry experts about how to take advantage of Microsoft 365 at a technical level and dive deep into the features and functionality that will make your environment more secure and compliant.


Sponsored By