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

  • Epson printers keep giving "media not loaded correctly" error message

    When sending print jobs that consist of multiple copies to Epson printers from my dual 3 GHz Quad-Core Intel Xeon Mac with OS 10.5.8, the printer will frequently (more than half the time) grab a sheet of paper and spit it out with nothing on it, and

  • Nokia Music Licence issue

    rather annoying problem. I downloaded some tracks from the Nokia music store onto my 5800. Each time i did a software update i lost the licences for the tracks. even though i had backed up the phone beforehand. No Problem, i just re downloaded the li

  • Photoshop CS5 Win 64bit, selection/point glitchy?

    Hi guys, I'm trialing CS5 on 64bit at the moment, just wondering if anyone has had experience, where when using the selection tool, or move tool or any tool where you need to select or draw out something, I am regularly getting a glitch where where I

  • When deploy multiple updates, some updates fail with Hash does not match expected

    If I deploy a few updates (less than 5) the deployment completes without any issues.  If I have a lot of updates,  most the updates install with no issues but some, and not always the same update, fails with an error in the CAS.log on the client that

  • Solaris 8 4/01 Installation rebooting

    I am trying to install the 4/01 copy of Solaris for the intel and it keeps rebooting the system in the middle of the install. It gets past the point where it is scanning the system and then proceeds to load the kernel. It then reports an error and re