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"
}

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

Friday, 22 June 2012

Christmas – 2011

The last day of the Year 2011 in office







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……..



Friday, 25 May 2012

Friends and Life @Infosys

Time for me to move on. Today is my last day in Infosys.

Just want take this opportunity to thank everybody for all the support and guidance I have got from everybody during my tenure. It’s been the most memorable time I have had in infosys and Microsoft and really feel sad today to write the last day mail.
Guy's you are one of the best people I have ever meet and learn lots of thing during my tenure in Microsoft. I always felt privilege to be part of the team.
Thanks to Manish,Lyle, Anil,Alex,james and khalid for your support and learn myriad things from you all. My sincere thanks to each one of you!
I would like to thank all my leads, managers and colleagues for providing all the guidance, appreciation, encouragement whenever I needed. I would be taking away with me a lot of learning’s from here.

Wish all of you good luck and the best in life!        [V-ANSI]


Infosys.



Microsoft -- Hyderabad.

ServiceNow onboarding Sailpoint