Version

0.0.2

Author

Ironman Software, LLC

Tags

script

Created

08/26/2024

Local Account Scripts

The Local Account Scripts module contains scripts that you can use with PowerShell Universal to manage local accounts on Windows machines.

Commands

New-PSULocalAccount

This command creates a new local account on a Windows machine.

$Password = ConvertTo-SecureString 'P@ssw0rd' -AsPlainText -Force
New-PSULocalAccount -Name 'testuser' -Password $Password -ConfirmPassword $Password

Installation Options

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet. More info

PS > Install-PSResource LocalAccount.Scripts

Install within the PowerShell Universal v5 admin console. More Info

PowerShell Universal Library

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies.

Download the raw nupkg file