PowerShell and file permissions (ACE/ACL)


i times see people struggling file level permissions on here , have thought sort of troublesome how powershell handles (or doesnt)

was digging in technet , came across this

http://gallery.technet.microsoft.com/1abd77a5-9c0b-4a2b-acef-90dbb2b84e85

this ps should have built in it!

havent tested it, been around long enuogh im guessing pretty solid.

something useful can link people when run in issues permission management.


justin rich
http://jrich523.wordpress.com
powershell v3 guide (technet)
please remember mark replies answers if , unmark them if provide no help.

i tried installing instructed, , get-module -listavailable gives me error:

ps c:\scripts> get-module -listavailable
get-module : cannot process argument because value of argument "name" invalid. change value of "name" argument ,
run operation again.
@ line:1 char:1
+ get-module -listavailable
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + categoryinfo          : invalidargument: (:) [get-module], psargumentexception
    + fullyqualifiederrorid : argument,microsoft.powershell.commands.getmodulecommand

 

it makes no difference whether put in windows\system32\...modules or users\me\documents\...modules.  in both cases, causes get-module fail.  when remove folder, command runs fine.


([string](0..9|%{[char][int](32+("39826578846355658268").substring(($_*2),2))})).replace(' ','')

what's new in powershell 3.0 (technet wiki)



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...