How to retreive specific privileges for an account ?


hello !

context: have 2 ad (2003 , 2008 r2). create same gpos in different ads. gpos give security rights accounts, "log on service" or "log on batch", example service account "domain\engine"

i want retrieve these informations (and these)  powershell script (v1 or v2 versions) in text file (gpo_name,account_name, list_privileges "selogonrights")

how can retreive ?


thanks advance ideas / - regards - have nice day ! rhum2

try using get-dsacl retrieve user permissions:

 

get-dsacl

 

powershell check check user security permission using dscals

 

best regards

dale qiao
technet subscriber support
in forum. if have feedback on our support, please contact tngfb@microsoft.com


please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread. ”


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group