Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

PowerShell to Query groups having no owners in FIM portal.

$
0
0

Hello All,

The group having no owners information in the FIM portal, Looking for a powershell script that will fetch all the group having no owner information in the FIM portal, I have tried and need inputs how to achieve that.

Below is the Query I am trying to build

# Load FIMAutomation module
if(@(Get-PSSnapin | ? { $_.Name -eq "FIMAutomation" } ).Count -eq 0)
{
    Add-PSSnapin FIMAutomation;
}
 $ImportState = [Microsoft.ResourceManagement.Automation.ObjectModel.ImportState]
 $importObject = New-Object Microsoft.ResourceManagement.Automation.ObjectModel.ImportObject
 $importObject.ObjectType = “Group”
 $importObject.State

Kindly advice.

Regards,
Anirban Singha(Bangalore,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>