Thursday, September 10, 2009

Exchange Certificates

Need to Renew your Exchange Certificates?

Fast tutorial:

New-ExchangeCertificate -GenerateRequest:$true -Path c:\Exchange.req -DomainName sch-ca01,sch-ca02 -PrivateKeyExportable:$true -FriendlyName "Exchange Certificate" -IncludeAcceptedDomains:$false -Force:$true

Now Import it:
Import-ExchangeCertificate c:\exchange.cer

Now Enable it:
Enable-ExchangeCertificate -Thumbprint DFFA81EFC7650C536BD435D4EB406C0F8FE7B471 -Services "IMAP, POP, UM, IIS, SMTP"

Friday, May 15, 2009

Powershell with AD

Add user from the Mobile/On-Site to Wireless Access group with 1 line!!


Get-QADObject -SearchRoot 'whatever.com/chicago/Users/mobile user/on-site' | Add-QADGroupMember 'wireless access'


If you don't have the AD cmdlet go here!