141 reputation
3
bio website kikuchiyo.org
location Millbrae, CA
age 33
visits member for 2 years, 5 months
seen Aug 29 '13 at 3:19

Goal: Programmer providing open source support benefiting equalization of access to information, and servicing small businesses and, or, low-income families.

Experience:

    active directory ( experience: three years )
    powershell ( experience: three years )
    javascript ( experience two years )
    bash ( experience: two years )
    ruby ( experience: one year )
    sas ( experience: three years )
    dos ( experience: three years )

Feb
13
awarded  Autobiographer
Feb
7
revised I need to clear out the same directory on multiple servers across a network. How do I do this?
Fix indentation of answer
Nov
23
comment How to give a user NTFS rights to a folder, via Powershell
I wish I had a Windows machine to test on. I'm totally winging it, lol. Did you try write-host "username=$username" immediately after you assign the $username? If it outputs "username=", then it must be the read-host. Also, we have a discrepancy where I use $user_name and you $username. Sorry about that. I'm sure you probably used $username, but just in case, thought I'd double check. Wish I could help more. Good luck, Don.
Nov
19
revised get-adcomputer error: “Invalid Enumeration Context” when running powershell script
$rest_of_your_pattern is no longer needed in reg-ex as it is handled in initial dsquery command
Nov
19
awarded  Editor
Nov
19
comment get-adcomputer error: “Invalid Enumeration Context” when running powershell script
Mark, you are correct, and I updated the suggestion to filter as your task requires. This should eleviate concerns of efficiency on the 10k objects. I think the only advantage is handling small strings instead of objects with unused data, and that you can potentially get alternative information on the issue and, or, by-pass the current issue. Either way, good luck! :)
Nov
19
revised get-adcomputer error: “Invalid Enumeration Context” when running powershell script
Updated initial dsquery command with filter to eleviate concerns of inefficiency, rightly pointed out by Mark M.
Nov
19
answered is there a good tool for viewing the permissions in AD?
Nov
19
answered get-adcomputer error: “Invalid Enumeration Context” when running powershell script
Nov
19
answered How to give a user NTFS rights to a folder, via Powershell
Nov
19
awarded  Teacher
Nov
10
answered I need to clear out the same directory on multiple servers across a network. How do I do this?