Home ยป PowerShell ยป Microsoft PowerShell LocalAccount Module

Microsoft PowerShell LocalAccount Module

The Microsoft.PowerShell.LocalAccounts module is a PowerShell module that provides cmdlets for managing the local accounts on Windows computers.

This module includes commands for creating, modifying, and deleting local accounts as well as cmdlets to manage local groups.

In this article, we will discuss how to import Microsoft.PowerShell.LocalAccounts module and the cmdlets available in Microsoft.PowerShell.LocalAccounts module.

How to Import Microsoft.PowerShell.LocalAccounts Module

To import Microsoft.PowerShell.LocalAccounts module into your PowerShell session, use the Import-Module command.

Import-Module Microsoft.PowerShell.LocalAccounts

The above PowerShell script will import Microsoft.PowerShell.LocalAccounts module into PS session.

What are the Cmdlets in the Microsoft.PowerShell.LocalAccounts Module

Here are some of the PowerShell cmdlets in the Microsoft.PowerShell.LocalAccounts module:


I hope the above article on Microsoft.PowerShell.LocalAccounts module in PowerShell is helpful to you.

You can find more topics about PowerShell Active Directory commands and PowerShell basics on the ShellGeek home page.