Testing out Poweshell Universal latest version and created a simple form. I want to take a UNC path (\servername\myshare) input from user and get back the access rights with the NTFSSecurity module. I am able to get the input from the form into $value but can’t get the command Get-NtfsAccess $value to display. My code below. Thanks for any help, I know I must be missing something simple.
Thanks, cool stuff! So I tried that and it didn’t display anything. I found this for a v2 on the forums that worked, using Get-ACL, but wanted to use v3 code if possible.
New-UDHtml -Markup "
Security Permission Check
"
New-UDInput -Title “Please Enter Server and Folder Name” -Endpoint {
Thanks again, that worked! Appreciate the fast responses.
Now I am trying to get this working with the NTFSSecurity module. Almost have it but for some reason the $_.accessrights display numbers instead of the access rights.
One more question, can you extend the input box so that it can display the full path or at least as wide as the screen will accept? The code from v2 above did this. Now it only displays about 40 characters.