Exchange 2007 PowerShell commands

Getting and Viewing data from Powershell When viewing information from the Exchange Management Shell, sometimes all the information is bunched up like this: Identity             User                 AccessRights        IsInherited Deny ——–             —-                 ————        ———– —- nativeconnections… NT AUTHORITY\SELF    {FullAccess, Rea… False       False nativeconnections… NATIVECONNECTIO\E… {ReadPermission}    True        False nativeconnections… NATIVECONNECTIO\E… {FullAccess}        True        True nativeconnections… NATIVECONNECTIO\D… {FullAccess}        True        True…

Read more Exchange 2007 PowerShell commands

Removing disconnected mailboxes in Exchange Server 2007

Exchange Server 2007 doesn’t allow us to purge the disconnected mailbox. In order to remove one or multiple disconnected mailboxes we can be performing these steps: Listing all disconnected mailboxes Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid Removing a single entry Remove-Mailbox -Database <Database-Name> -StoreMailboxIdentity <MailboxGuid> -confirm:$false Removing all users at…

Read more Removing disconnected mailboxes in Exchange Server 2007

Windows Server 2008 – Deployment using Windows Deployment Services (WDS)

  For Windows Server 2008 deployment we will be using Windows Deployment Services installed on Windows 2003  – inftwsm005 (149.171.56.13) In a nutshell, on the Windows Server 2008 DVD media you can find two WIM files, boot.wim (PE image) and the other is install.wim (the actual operating systems). The boot.wim file is the very first…

Read more Windows Server 2008 – Deployment using Windows Deployment Services (WDS)

Creating your own Exchange 2007 SSL certificates to publish OWA, Outlook Anywhere & Active Sync with ISA 2006

On your Exchange CAS For Auto Discover New-ExchangeCertificate -GenerateRequest:$true -SubjectName "C=AU, O=Company, CN=autodiscover.externalname.com" -DomainName mail.externalname.com, autodiscover.externalname.com, exc2007.internalname.local, autodiscover.internalname.local -FriendlyName "Microsoft Exchange 2007" -Path c:\AutoDiscover_mailcert.req -privatekeyexportable:$true For OWA & Active Sync New-ExchangeCertificate -GenerateRequest:$true -SubjectName "C=AU, O=Company, CN=mail.externalname.com" -DomainName mail.externalname.com, autodiscover.externalname.com, exc2007.internalname.local, autodiscover.internalname.local -FriendlyName "Microsoft Exchange 2007" -Path c:\Mail_mailcert.req -privatekeyexportable:$true If you are purchasing a certificate, this…

Read more Creating your own Exchange 2007 SSL certificates to publish OWA, Outlook Anywhere & Active Sync with ISA 2006

Exchange 2007 SP1 Outlook Anywhere NTLM authentication for domain based and workgroup based computers

At the University in Sydney they have Exchange Server 2007 installed on Windows Server 2003 servers. They needed a solution for people to use Outlook Anywhere using laptops that were attached to the domain with logged on domain user accounts, also local user accounts with laptops that weren’t on the domain. However, they didn’t want…

Read more Exchange 2007 SP1 Outlook Anywhere NTLM authentication for domain based and workgroup based computers

ISA 2006 – VPN PPTP error

After installing this update on ISA 2006 with SP1 http://support.microsoft.com/kb/956570, your PPTP VPN might stop working with error 0x8007274d wsaeconnrefused. When I uninstalled this update from Microsoft, this fixed my VPN and I was able to gain remote access once again.

Read more ISA 2006 – VPN PPTP error

Convert DVR-MS to .AVI

This will show you how to convert DVR-MS to .AVI, it a two step procedure. First you need to convert to .mpg, then you can convert to .AVI (DivX or Xvid). First off you need ffmpeg_MPGMUX.exe from here. You need to have access to the Media Center DVR-MS files, also a dump location for the…

Read more Convert DVR-MS to .AVI