Active Directory
PowerShell – Multiple (-and) (-or) within a single If statement
I had a hard time finding examples on the web on how or if you could code multiple If’s into a single If statement, so I thought I would just quick post up an example once I figured out how to do it. Perhaps I wasn’t looking in the right places but all the examples I saw were just a single (-and) or (-or) in the code.
So based on being able to code an If statement in either of the following fashions:
If ($someAttribute -eq $false -or $someAttribute -eq $Null){
}
or the following:
If (($someAttribute -eq $false) -or ($someAttribute -eq $Null)){
}
Then we should be able to do a combined effort:
If (($someAttribute -eq $false -or $someAttribute -eq $Null) -and ($someUser -eq “UserID123″)){
Write-Host “Switching to True”
Set-QADUser $someUser -Service “MyDomain.org” -ObjectAttributes @{$someAttribute = $True}
If (!$?) {Write-Host “Error: $($error[0])”}
}
So if $someAttribute is either $false or $Null AND #someUser equals “UserID123″ then do something… in this case I switch the Attribute someAttribute to $true and do some error checking.
~ITNotes
Active Directory Federation Services (ADFS) 2.0 RTW Released!
The rumors that ADFS 2.0 would be released today were true. Microsoft released Active Directory Federation Services (ADFS) 2.0 RTW today. I know RTM is Released To Manufacturing so does RTW mean Released to World?
Download ASFS 2.0
http://technet.microsoft.com/en-us/evalcenter/ee476597.aspx
OR
http://www.microsoft.com/downloads/details.aspx?FamilyID=118c3588-9070-426a-b655-6cec0a92c10b&displayLang=en
Additional Resources
Active Directory Federation Services (AD FS) 2.0
http://technet.microsoft.com/en-us/library/adfs2(WS.10).aspx
AD FS 2.0 Step-by-Step and How To Guides
http://technet.microsoft.com/en-us/library/dd727938(WS.10).aspx
Introducing AD FS 2.0
http://technet.microsoft.com/en-us/library/adfs2-help-introducing(WS.10).aspx
AD FS 2.0 Terminology
http://technet.microsoft.com/en-us/library/adfs2-help-terminology(WS.10).aspx
Using Windows PowerShell for AD FS 2.0
http://technet.microsoft.com/en-us/library/adfs2-help-using-windows-powershell(WS.10).aspx
Web Resources for AD FS 2.0
http://technet.microsoft.com/en-us/library/adfs2-help-web-resources(WS.10).aspx
How To…
http://technet.microsoft.com/en-us/library/adfs2-help-how-to(WS.10).aspx
~ITNotes
Active Directory Federation Services (ADFS) 2.0 Release 5.5.2010?
There have been rumors floating around that ADFS 2.0 would be released today. As I was stumbling around Technet today I ran across the articles that were updated 5-5-2010. Perhaps the rumors are true, we will soon see. Keep you eyes peeled for a update from Team Geneva’s blog.
Active Directory Federation Services (AD FS) 2.0
http://technet.microsoft.com/en-us/library/adfs2(WS.10).aspx
AD FS 2.0 Step-by-Step and How To Guides
http://technet.microsoft.com/en-us/library/dd727938(WS.10).aspx
Introducing AD FS 2.0
http://technet.microsoft.com/en-us/library/adfs2-help-introducing(WS.10).aspx
AD FS 2.0 Terminology
http://technet.microsoft.com/en-us/library/adfs2-help-terminology(WS.10).aspx
Using Windows PowerShell for AD FS 2.0
http://technet.microsoft.com/en-us/library/adfs2-help-using-windows-powershell(WS.10).aspx
Web Resources for AD FS 2.0
http://technet.microsoft.com/en-us/library/adfs2-help-web-resources(WS.10).aspx
How To…
http://technet.microsoft.com/en-us/library/adfs2-help-how-to(WS.10).aspx
and many more all dated 5-5-2010
~ITNotes
TEC 2010 – Advanced Training on Microsoft Active Directory and FIM
Today I registered for TEC 2010 which will be in Los Angeles this year. I have never attended TEC before but last year I was right down the road at TechED. I am still waiting to hear if I will be attending TechEd 2010 as well.
I am excited to see some focus around Active Directory and Forefront Identity Manager at a conference especially since Forefront Identity Manager was just released to manufacturing. One of my fears in attending this conference this year was that FIM would be released after TEC 2010 and covered in greater detail at TechED 2010, now with the release of FIM I hope that is not the case. I have already seen some vendors providing extensions to FIM so this may be the best year to go to TEC so far.
I definitely will be posting some more information and pictures during the event. Feel free to email me with any suggestions around the conference or questions you would like to be asked. ITNotes@gmail.com
~ITNotes
New Role – Active Directory / Identity Management Engineer
I was recently promoted to our company’s Security Team as an Active Directory / Identity Management Engineer. So most of my future posts will be aimed towards those technologies and Group Policy. I will also continue to post some hopefully helpful VBScripts and PowerShell Scripts. I still have a few draft posts that I plan to publish eventually that maybe helpful in the Windows Installer and Packaging Space however no new findings will be posted in this expertise.
Thanks for reading!
~ITNotes
