Quantcast
Viewing all articles
Browse latest Browse all 4767

Powershell Xpath to Query to find the membership of the set.

Hi All,

Can we use Powershell to find the membership of the set ?

I have to get the list of membership to the set All people using powershell.

The below is the powershell I am trying to achieve to get the list of membership, kindly advice.

# Load FIMAutomation module
 if(@(Get-PSSnapin | ? { $_.Name -eq "FIMAutomation" } ).Count -eq 0)
 {
     Add-PSSnapin FIMAutomation;
 }
$Set = Export-FIMConfig -customConfig "/Set[DisplayName='All people'/ComputedMember]" -Uri "http://localhost:5725"  -OnlyBaseResources

$Set

Regards,
Anirban Singha(India).




Viewing all articles
Browse latest Browse all 4767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>