logo
May 8, 2020 | Jeff Melnick

Managing SharePoint Online using PowerShell

Most Office 365 applications can be managed using PowerShell. PowerShell commands (cmdlets) can be combined to create scripts that perform complex administrative tasks. Managing SharePoint Online using PowerShell makes it easy to add, modify and remove user accounts and their permissions, as well...
January 17, 2019 | Jeff Melnick

Most Useful SharePoint PowerShell Commands

SharePoint Server is a web-based collaborative platform that integrates with Microsoft Office. To configure SharePoint site settings, system administrators often use the SharePoint Management Shell that is installed with the SharePoint product. Running the SharePoint Management Shell calls the...
August 8, 2019 | Russell Smith

Using PowerShell to Create ZIP Archives and Unzip Files

Sometimes it can be useful to programmatically create zip archives or extract files from existing archives. Windows PowerShell 5.0 added two cmdlets for doing just that. The Compress-Archive cmdlet enables you to create new archives from folders or individual files and to add files to archives;...
March 22, 2019 | Jeff Melnick

Introduction to PowerShell

In this short PowerShell introduction, I’ll explain what PowerShell is and what it was created for, as well as provide a list of useful resources that can help you learning PowerShell scripting and make your working life easier. Windows PowerShell is a Windows command-line shell created to...
January 17, 2019 | Russell Smith

How to Create, Change and Test Passwords Using PowerShell

Automation is the key to streamlining Active Directory management tasks. In this article, I’ll show you how to create, change and test user passwords with PowerShell scripts. Installing the AD PowerShell module Before you can use PowerShell to manage Active Directory, you need to install the...
September 1, 2020 | Jonathan Hassell

How to Create, Assign Licenses to, Disable and Delete Office 365 Accounts

Office 365 includes a wide variety of services, such as Exchange Online, SharePoint Online and OneDrive for Business, that foster communication and collaboration between users. To use Office 365 services, however, each user needs their own user account in Office 365 with assigned licenses. You can...
October 8, 2020 | Jeff Melnick

PowerShell Variables and Arrays

In the previous article, named PowerShell Scripting Tutorial for Beginners, we explored how to use the PowerShell console to execute scripts and learned what cmdlets are, how to get their properties and how to use pipes to pass data from one cmdlet to another. Handpicked related content: ...
March 11, 2019 | Jeff Melnick

Ten Most Useful Office 365 PowerShell Commands

Using Windows PowerShell to manage Office 365 may seem odd at first. After all, cloud solutions promise simplicity and ease of use — adjectives rarely used in connection with Windows PowerShell. But bear with me. In this article, I’ll show you the ten most useful Office 365 PowerShell cmdlets...
May 12, 2020 | Jeff Melnick

How to Add, Delete and Change Local Users and Groups with PowerShell

To help admins manage local users and groups with PowerShell more easily, Microsoft provides a cmdlet collection called Microsoft.PowerShell.LocalAccounts. Previously, you had to download and import it into PowerShell explicitly, and also install Windows Management Framework 5.1; in the Windows...
August 11, 2020 | Jeff Melnick

How to Get, Edit, Create and Delete Registry Keys with PowerShell

Administrators can perform all typical registry operations using either the old-good “Regedit” user interface or the reg.exe utility. But there is another option — Windows PowerShell. PowerShell provides a large set of tools for interacting with the Microsoft Windows registry, either on the...
Show more articles
...