-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I'm trying to use PoshPrivilege on Windows 10 (22H2, 10.0.19045), PowerShell 7.6.3 (since I need a working Set-Acl -LiteralPath in conjunction with this, the shipped PS 5.1 is not an option).
After installing via Install-Module -Name PoshPrivilege, when trying to run any of the provided commands, I get (for example):
PS> Get-Privilege
InvalidOperation: \\local.domain\DFS\User$\Home\...\PowerShell\Modules\PoshPrivilege\0.3.0.0\Scripts\Get-Privilege.ps1:101
Line |
101 | [Privileges[]]$Privilege,
| ~~~~~~~~~~~~~~
| Unable to find type [Privileges].What am I missing to make this work?
Metadata
Metadata
Assignees
Labels
No labels