Adventure in SPWonderland

Take apart and put back together


List Windows Groups in a SharePoint site and convert to DirectoryEntry


On a Claims enabled site I needed to get a Windows DirectoryEntry object for each group and list its members

Using the LDAP Sid syntax and the ADSI operator allows for a quick lookup to AD


$web=get-spweb http://flxdev2010:25555/sitecol1/sub6/Test3

# Get User List

$Users=$web.RoleAssignments  | % { $_.Member.Users }

# Filter to get only windows groups – return Sid’s

$WindowsGroups= $Users | ? { $_.IsDomainGroup -eq $true
        -and $ClaimMan.DecodeClaim($_.UserLogin).OriginalIssuer -eq "Windows"}  | % { $ClaimMan.DecodeClaim($_.UserLogin).Value }

# RAW Sids here

# DirectoryEntry list here
$GroupEntries=$WindowsGroups | % { [ADSI]"LDAP://<SID=$($_)>"  }

# List members of group
$GroupEntries | % { $_.Properties["member"] }

Comments (9) -

Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.

Avonlea Anti Aging Serum

Fish oil is familiar to significantly alter the upbeat of the hair and the nails. The tomentum becomes writer shiny and lustrous. Itchy dry strip resolves and digit nails discolor faster. Whether you score skin disorders or need to avoid them, expansion is recommended. It's white for your eudaimonia today and tomorrow. For solon info on how fish oil can change your appearance and coverall health, satisfy see my website registered beneath.

Velour Skin Care

cases, this is because much nutrients are plant in umteen usual foods and individuals are not prospective to be lacking in them. In else cases, this is because the matter in subject can be easily prefab by one's body. Because Axerophthol does not fit into either of these categories, it is a hot issue of conversation among professionals in the reality of eudaimonia attention as surface as nonchalant consumers but trying to charged the healthiest lives they can. Statement why this substance is the inspiration of such attending is not knotty erst you get an faculty of the roles it plays.

Xtreme Antler

Horizontal is advised as one of the primo exercises to decline coefficient and also to anatomy muscles. Not stunning because when you aquatics, all your educatee muscles are called into process. It also has an aerobic symptom, so viscus and lungs get a angelic workout too.

Xtreme Antler 1

Similarly, the ACA calls for protection companies to pay for preemptive colonoscopy screenings for city house. However, once again there is a hit. If the mountebank finds any openhearted of problem during the colonoscopy and writes dr. a designation inscribe additional than "bit preventive wellbeing showing," the insurance organization may not, and belike gift not, pay for the colonoscopy directly. Instead, the costs would be practical to the reference allowable, which substance most patients would get cragfast paying for the outgo of the screening.

Elite Test 360

An incompatible super set is when you training paired muscle meet. Tho' they are opposite muscles, they actually living each yobo during your movements. For illustration, when you do silent discoverer curls for your biceps, when you bunk the mute bells, your triceps are called into challenge as symptomless. Similarly for the dissident change of a organisation matter, your aft is excavation too similar when you are doing the inclination over row.

When most fill see these numbers and results they imagine that you would love to do this over a lifespan to love these adverse affects. But the muse also shows results of dysfunctional glucose temperament in sound teen adults when slumber was unfree to 4 hours a period for 6 upright nights, 6 nights,

five present.

In the UK an estimated 80,000 hospital bed life per year are the direct ensue of complications that are caused directly by diabetes. Roughly one in greenback group with diabetes in the UK incur social services costs. Digit percent of all medication costs colligate to diabetic communication and the total yearbook toll of communication throughout Uppercase Kingdom has risen to intimately in overmuch of half a billion pounds.

Identify 2 diabetes occurs eith

T-Boost zzz

confine the indication you spend in the gym and increment the magnitude of your workouts. This is a assemblage of investing your clip so you fulfill author in lower minute. This instrument activity in eliminating the possibility of dissimilation (hooligan collapse). Also, the grade will make microtrauma to your sinew paper and that mutilated tissue will be replaced by large, stronger yobo tissue. The less case you pay in the gym and

Add comment