ambakshi / PSPrivilege

Manage process privileges and adjust Windows rights/privileges in PowerShell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PSPrivilege

Test workflow codecov PowerShell Gallery License

PowerShell module that allows you to enable/disable/remove privileges on the current process as well as modify the membership of rights and privileges for a Windows host.

Documentation

Documentation for this module and details on the cmdlets included can be found here.

Requirements

These cmdlets have the following requirements

  • PowerShell v5.1 or newer
  • .NET Framework 4.7.2+ or .NET Core+
  • Windows Server 2008 R2/Windows 7 or newer

Installing

The easiest way to install this module is through PowerShellGet.

You can install this module by running;

# Install for only the current user
Install-Module -Name PSPrivilege -Scope CurrentUser

# Install for all users
Install-Module -Name PSPrivilege -Scope AllUsers

Contributing

Contributing is quite easy, fork this repo and submit a pull request with the changes. To build this module run .\build.ps1 -Task Build in PowerShell. To test a build run .\build.ps1 -Task Test in PowerShell. This script will ensure all dependencies are installed before running the test suite.

About

Manage process privileges and adjust Windows rights/privileges in PowerShell

License:MIT License


Languages

Language:C# 50.9%Language:PowerShell 49.1%