LocalUsers

1.1.1

LocalUser helps maintain Windows stability and efficiency, providing enhanced user-centric cmdlets for local user management:

- Get-User
   1. Focuses only on real accounts (excludes built-in system accounts).
   2. Retrieves lost accounts (profiles lacking a name).
   3. Provides session activity details.

-  Remove-User
   1. Completely removes users, i
LocalUser helps maintain Windows stability and efficiency, providing enhanced user-centric cmdlets for local user management:

- Get-User
   1. Focuses only on real accounts (excludes built-in system accounts).
   2. Retrieves lost accounts (profiles lacking a name).
   3. Provides session activity details.

-  Remove-User
   1. Completely removes users, including profiles and registry entries.
   2. Optionally backs up user profiles before removal.

-  New-User
   1. Enables fast user creation with a blank password.
Show more

Minimum PowerShell version

7.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name LocalUsers -RequiredVersion 1.1.1

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

Install-PSResource -Name LocalUsers -Version 1.1.1

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

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. Learn More

Owners

Copyright

(c) Human.Against.Machine All rights reserved.

Package Details

Author(s)

  • Human.Against.Machine

Tags

Windows Users-management Local-users Account-management Local-account

Functions

Get-User Remove-User New-User

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

[1.1.1] - 2025-01-12
- Fix log out when attempting to remove yourself.
- Improve representation of null values for `IdleSessionTime`.

[1.1.0] - 2025-01-11
Read-Quser function:
- Add language compatibility test for English, Italian, German, French, and Spanish. Throw a "Language not supported" exception for unsupported languages.
- Improve `quser` output parsing by using fixed field indices.

[1.0.1] - 2024-12-29
Fixed
- Typos in manifest Description and ReleaseNotes

[1.0.0] - 2024-12-29
Initial Release
- Three cmdlets to manage local users: Get-User, New-User, Remove-User

FileList

Version History

Version Downloads Last updated
1.2.0 24 1/14/2025
1.1.1 (current version) 12 1/12/2025
1.1.0 34 1/11/2025
1.0.1 26 12/29/2024
1.0.0 4 12/29/2024