Carbon 2.10.2

12 views
Skip to first unread message

Dario Pozzobon

unread,
Jul 9, 2021, 4:24:36 AM7/9/21
to carb...@googlegroups.com

Hi,

Get-FileShare works.

But GetFileSharePermission give me this error:

Get-FileSharePermission -Name 'Test123'
InvalidOperation: C:\Program Files\PowerShell\Moduli\Carbon\Carbon.psm1:3893
Line | 3893 | $result = $lsss.GetSecurityDescriptor()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Method invocation failed because
| [Deserialized.System.Management.ManagementObject#root\cimv2\Win32_Logical
ShareSecuritySetting] does not contain a method named 'GetSecurityDescriptor'.

Any ideas?

Thank you very much

Dario

Aaron Jensen

unread,
Jul 11, 2021, 2:35:59 PM7/11/21
to Dario Pozzobon, carb...@googlegroups.com
Are you running PowerShell as an administrator?


On Jul 9, 2021, at 01:24, 'Dario Pozzobon' via Carbon <carb...@googlegroups.com> wrote:


--
You received this message because you are subscribed to the Google Groups "Carbon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to carbonps+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/carbonps/79248287.134252.1625819074991%40mail1.libero.it.
Reply all
Reply to author
Forward
0 new messages