You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's the full code that can recreate the recursion bug with the NTFSSecurity module. It (soft) requires a remote computer that's accessible via winrm and have the local and remote computer be on the same domain for the kerberos auth. These are soft requirements and could be commented out to run against the local machine, but it would help with populating the custom object with data from multiple servers.
Here's the object structure via multiple get-member against the correct path that gets us to the the IdentityReference value. In the pasted script below, the full path is $select.ShareDetails.ShareNtfsData.NTFSFolderAccess.IdentityReference
Activity
OpossumWithAKeyboard commentedon Sep 7, 2025
Here's the full code that can recreate the recursion bug with the NTFSSecurity module. It (soft) requires a remote computer that's accessible via winrm and have the local and remote computer be on the same domain for the kerberos auth. These are soft requirements and could be commented out to run against the local machine, but it would help with populating the custom object with data from multiple servers.
Here's the object structure via multiple get-member against the correct path that gets us to the the IdentityReference value. In the pasted script below, the full path is
$select.ShareDetails.ShareNtfsData.NTFSFolderAccess.IdentityReference