I have a requirement where I have to give the list of users who can access a specific computer. I am new with PS. Do you have a script to list users that can access a computer object of AD ?

I have a requirement where I have to give the list of users who can access a specific computer define in AD.
I am new with PS.
Do you have a script to list users that can access a computer object of AD ?
I have executed the following script  but it does not give me the access rights of who can access the computer 'computername'
How can i have this information. please help
Import-Module activedirectory
$computer=get-adcomputer "computername" -properties ntSecurityDescriptor
$omputer.ntsecurityDescriptor.Access | select-object -expandproperty IdentityReference | sort-object -unique

I would say that, since the OP has so little info, there are no policies in use.  It there were then this question would never be asked the way it is being asked.
I had a client call with a letter from their insurance company; an accountant with malpractice insurance.  THey asked the same question inmuch the same way.  "What computer can you users access?"  The question should be more like
"Do you have a policy that restricts access to computers and do you audit for compliance?"
I have had other clients whose insurance asked the question in that way.  It produces a better view of what should be happening and how to show compliance.
I recommend that companies being asked these questions by their legal departments or insurance companies should contract with a god computer security consultant to assist with answering these very tricky questions.  Of course if it is just you boss's
curiosity  then you may need to discuss his requirements with him in more depth.
¯\_(ツ)_/¯

Similar Messages

Maybe you are looking for

  • How to sync ical with multiple apple devices and android?

    Does anybody have use an android phone in addition to apple devices, and have you figured out how to sync ical with all? (I know there are other calendars that can be used by all, but it means a lot to my husband to stay with ical.)

  • MM-PUR default scales for condition types for service (ME31K

    Hi, We have faced the following problem: The business case was, to have default scales for certain condition types for a service for a purchasing contract. We didn't find it in SAP, so we wrote an OSS. SAP answered that it's not possible now, nor in

  • Pivot table Govenor exceeded

    Hi everyone, I'm getting the "Governor limit exceeded in cube generation (Maximum data records exceeded.) Error Details Error Codes: QBVC92JY " error. I've got the following entries setup in my instance config file <PivotView> <MaxCells>800000</MaxCe

  • Product Code N81-3

    Hi Would any one have a product code for a N81-3, so I can get English Language Support & upgrade to firmware 10.0.035, device is from HK & only has chinese language support. So device is just a door stop at the moment. Cheers. Mobiles sure aint what

  • Pay as you go iphone

    I purchased a pay as you go iphone GS from the Apple store in London recently. I do not have a contract although O2 is the network. I am planning to go to US next month. May I purchase a AT&T card and use this to avoid high roaming charges.I presume