Exchange 2007 and Public Folders

So every day is a school day and today I learnt two thing, which means that is enough for one week ;-)

So first off is BES.  If you use Exchange 2007, you MUST have public folders for BES to work?! Yeah!

BlackBerry Enterprise Server obtains free/busy data from the Schedule+Free/Busy Public Folder on the Microsoft Exchange Server. When Microsoft® Outlook® 2007 and Microsoft Exchange Server 2007 are running in native mode, they use the Availability Service (via Auto Discover) to determine free/busy data, so there is no Public Folder for the BlackBerry Enterprise Server to find.

The Availability Service method of accessing free/busy data will be supported in a future version of BlackBerry Enterprise Server for Microsoft Exchange but for now you will need to install the Optional Public Folders in your Microsoft Exchange environment and configure the System Public Folder’s Schedule+Free/Busy Properties.


So the next thing I didn’t know anout, but Sardar put me right,  If you have a CCR cluster with a Public Folder store, you CANT have any other Public Folders!  yeah that is what I thought too.

Check this out: http://technet.microsoft.com/en-us/library/bb123996(EXCHG.80).aspx near the bottom

CCR and public folder replication are two very different forms of replication built into Exchange. Due to interoperability limitations between continuous replication and public folder replication, if more than one Mailbox server in the Exchange organization has a public folder database, public folder replication is enabled and public folder databases should not be hosted in CCR environments.

 

Get-AllQueuesGUI.ps1 v1.4

Update to this script too, basically a change from using Get-ExchangeServer in places to Get-TransportServer.  Also add a size column to the message tab.

It will also log data to c:pslogs

Let me know what you think ;-)

 

Get-AllQueues.ps1

So another script .. This is actually a one liner but this is an easy wrapper.

 The one liner is:

Get-TransportServer | Get-Queue

Dump-Help.ps1 v1.0

Recreation of an old script.  Basically this will run get-help for all commands and output it to c:pshelp .. I like it ;-)

#########################################################################################
$AppName = “Dump-Help.ps1”
$AppVer  = “v1.0 [7 August 2008]”
#v1.0 6 August 2008 : A script is Born
#
#This script Checks dumps the build help information for all commands it can find
# that have a related PSSnapIn
# The output is from get-help -full
# The output is put in the subfolders in c:pshelp
#
#Written By Paul Flaherty
#blogs.flaphead.com 
#Common Variables
$ServerName = hostname   # Server Name
$Today      = Get-Date   # Todays Date
$xUser      = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$xUser     = $xUser.Name
#########################################################################################

#########################################################################################
#Display script name and version
#########################################################################################
Write-host ” ” $AppName -NoNewLine -foregroundcolor Green
Write-Host “: ” $AppVer -foregroundcolor Green
Write-host “`n Run on $ServerName at $Today by $xUser” -foregroundcolor Yellow
Write-Host “|——————————————————————-|`n”

#########################################################################################
#get the help names that are associated with a PSSnapin
#########################################################################################
$help = get-help * | select name,category,pssnapin | where {$_.PsSnapin -ne $null}

#########################################################################################
#Loop each name
# Set and create the folder path
# Write out the FULL help text
#########################################################################################
ForEach ($item in $help)
{
$x = $item.pssnapin.tostring()
$y = $item.name.tostring()
IF ($x -eq $Null){$x=”x”}
$outfile = “c:PShelp$x”
IF ((test-path $outfile) -eq $False){MD $outfile} 
$outfile += “$y.txt”
write-host $outfile
Get-Help $y -full | out-file $outfile -width 9999

}

#########################################################################################
#End
#########################################################################################