- Fixed incomplete error message
- Added example file
- Restored paramter section
- Added logging support
- Added
Locale
warning when usingPrincipal Name
instead of aSID
- Added force stop if the
SID
cannot be resolved - Added custom error handling
- Fixed empty
Privilege
on error
- Added
RemoveAll
support for theAction
parameter - Added some code optimizations
Privilege
parameter is now dynamic
- Added
SID
Support forPrincipal
- Added Resolve-Principal support for both
PrincipalSID
andPrincipalName
- Added random file names for all used files
- Added some code optimizations
- Replaced
Identity
withPrincipal
- Fixed some variable declarations
- Fixed
Replace
Support
- Added
Replace
option. - Set
ErrorActionPreference
on a single line.
- Add or Remove user rights assignment to a local computer.