Ask and you shall receive. You may remember asking about pinging a subnet during your interview on powerscripting… I had some free time Friday. Armed with the -AsJob param on gwmi you told me about. I took a swing at pinging a subnet, something like this http://poshcode.org/976.
Thanks again for all your AD/Citrix content, I use your scripts as a reference whenever I’m working with either!
Do you know of a way to use PowerShell to connect to the Global Catalog and traverse it like you can with the Registry? I’m trying to be able to find a method of browsing through the elements exposed via ADSI to determine the AD elements’ types and properties.
I have tried using your Get-Set method to block inheritance on an Address List I’ve created in AD but I always end up getting an error that the permissions aren’t in canonical order whenever further permissions processing is attempted (in the code below, I believe the error comes following the line of code after ‘# Remove Authenticated Users from new address list’. I tried creating an address list and turning off inheritance to use at a template but I must be doing something wrong. This is the last piece of a script I’ve been working on for what seems like forever and I would really appreciate your expertise at your convenience. Thanks in advance for your time.