//Build// Code on Weekend // Reach out if any one want to share cool FIM/MIM, IAM related Project. Mail : Any.Singha@gmail.com
Friday, 7 June 2013
Thursday, 6 June 2013
PowerShell to Query groups having no owners in FIM portal
<# Please do not anything in the production enviroment unless and untill you are very much sure #>
# Load FIMAutomation module
if(@(Get-PSSnapin | ? { $_.Name -eq "FIMAutomation" } ).Count -eq 0)
{
Add-PSSnapin FIMAutomation;
}
$groups = Export-FIMConfig -customConfig "/Group[Owner !=/Person]" -Uri "http://localhost:5725" -OnlyBaseResources
foreach ($group in $groups)
{
$x = (($group.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "DisplayName"}).Value)
Write-Host "Groups are $x"
}
# Load FIMAutomation module
if(@(Get-PSSnapin | ? { $_.Name -eq "FIMAutomation" } ).Count -eq 0)
{
Add-PSSnapin FIMAutomation;
}
$groups = Export-FIMConfig -customConfig "/Group[Owner !=/Person]" -Uri "http://localhost:5725" -OnlyBaseResources
foreach ($group in $groups)
{
$x = (($group.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "DisplayName"}).Value)
Write-Host "Groups are $x"
}
Tuesday, 4 June 2013
Adding user from txt in AD group
<# The input file is User.txt havig the samaccount of the user, try and catch is used to verify if the user is already added to the group, Here we can use variable to out the result in logs for the user which are already added in group #>
Import-module ActiveDirectory
Import-CSV "C:\Users\administrator\Desktop\User.txt" | % {
try {$x=$_.UserName
Add-ADGroupMember -Identity allit -Member $x }
catch [system.exception] {
write-host "the user $x is alreday a member of the group"}
}
Sunday, 2 June 2013
PSBUG UG meet Bangalore 1st June 2013
PSBUG UG meet at
Microsoft Bangalore- was doing my Night shift and UG meet was on Saturday in
the morning, I was eager to learn new thing in Power Shell and meet few MVP that
motivate me to attain the meeting in spite of doing the Night shift.
New
Learning for me J
F7 and H command will show the command that had been executed.
Wednesday, 6 February 2013
Group migration
from AD to FIM 2010. ( the documentaion is in progress)
The main drawback with the classic
rule is you have to use vb.net or C# rule extension to bring the group type and
group scope from AD in metaverse.it will drive you nut if you do not have an experience
in programing knowledge and to test this in the production will mess up all the
thing, if it is not properly coded at first go.
In Declerative Rule it can be done as below.
A Inbound sync rule that will bring the group from AD to metaverse
FIM export that will populate the group from metaverse in FIM 2010
In Declerative Rule it can be done as below.
A Inbound sync rule that will bring the group from AD to metaverse
FIM export that will populate the group from metaverse in FIM 2010
Friday, 22 June 2012
Christmas – 2011
The Night we were in the office with Grace, Jyothi, Sai..We
enjoy a lots on that day..Grace bought the guitar and Sai played the Guiter ..
The picture is not clear, I have posted this so that I can go back and remember
the day I had spent in Microsoft Hyderabad.
Miss u all……..
Subscribe to:
Posts (Atom)
-
Note : This series is for the Beginner and trouble shooting the Error With Sync Engine, Based on Test Lab, Highly advice do not do Full Syn...
-
This article can be refer as reference only, how can you build your first Management Agent connect to Service Now. The samples code show...
-
Rules are the construct through which IdentityIQ allows the addition of custom business logic at specific points within the execution fl...