When dealing with moving or migrating users, you want to do it in batches. Now yes, you could do this a lot easier. But I wanted to run it from a SfB centric view, where you don’t have a lot of AD attributes. This script will take something from the get-csuser cmdlet and get infromation about the user from AD. Specifically, this is getting the name of the parent OU. You could continue to go up the tree indefiently too. But this script is more about how to get AD stuff and get the OU
get-csuser | %{get-aduser -Identity $_.DistinguishedName -properties *} | select name,@{Name=”Parent”;Expression={(([ADSI]”LDAP://$_”).psbase.parent.name)}}
What Is Cephalexin Used For [url=http://cialibuy.com]Buy Cialis[/url] Non Generic Viagra Online How To Buy Letrozole Viagra Sold In The United States
Buy Priligy Dapoxetine United States Keflex Package Insert Isotretinoin Cheap Internet With Free Shipping Over Night [url=http://cialibuy.com]Buy Cialis[/url] Euroclinix Generico Flagyl Amoxil
Wirkung Cialis Vs Viagra Cytotec 200 РћСљg Cialis 5mg Daily [url=http://truthaboutstaininggrid.com][/url] Clomid Diamicron Kamagra Ajanta Review
Discount Cialis Without A Prescription [url=http://cialionline.com]canadian pharmacy cialis 20mg[/url] Vente De Lioresal