Set-Privilege

1.1.2

Toggle security privileges for the current PowerShell session.

Installation Options

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

Install-Script -Name Set-Privilege

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

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

Package Details

Author(s)

  • Pyprohly

Tags

Security Privilege TokenPrivilege

Functions

Set-Privilege

Dependencies

This script has no dependencies.

Release Notes

1.1.2 | 2017-11-11
Made `PrivCont' an anonymous function to prevent the PowerShell Gallery from listing it.
1.1.1 | 2017-03-29
Set-Privilege 'Privilege' parameter renamed to 'Name'. 'PrivilegeName' is an alias.
1.1.0 | 2017-03-26
Set-Privilege called if script is invoked and not dot sourced
Set-Privilege '-Privilege' argument no longer requires "Se" and "Privilege" affixes
LookupPrivilegeValue function signature parameter 'pluid' modifier changed from 'ref' to 'out'
1.0 | 2017-03-25
Initial release

FileList

Version History

Version Downloads Last updated
1.1.2 (current version) 425 11/11/2017
1.1.1 91 3/29/2017
1.1.0 15 3/26/2017
1.0.1 15 3/25/2017