Figure 5-1
Part I: PowerShell for Exchange Fundamentals
142
Get/Set Public Folder Database Information
Now that a public folder database has been created, this section shows how to get and set various
parameters on the database. This is accomplished with Get-PublicFolderDatabase and
Set-PublicFolderDatabase :
Get-PublicFolderDatabase [-Identity < DatabaseIdParameter > ] [-DomainController
< Fqdn > ] [-IncludePreExchange2007 < SwitchParameter > ]
[-Status < SwitchParameter > ] [ < CommonParameters > ]
Get-PublicFolderDatabase -Server < ServerIdParameter > [-DomainController < Fqdn > ]
[-IncludePreExchange2007 < SwitchParameter > ] [-Status
< SwitchParameter > ] [ < CommonParameters > ]
Get-PublicFolderDatabase -StorageGroup < StorageGroupIdParameter >
[-DomainController < Fqdn > ] [-IncludePreExchange2007 < SwitchParameter > ]
[-Status < SwitchParameter > ] [ < CommonParameters > ]
Running the Get-PublicFolderDatabase without any parameters returns a list of all the servers with
public folder stores in the organization. The IncludePreExchange2007 and Status parameters are
demonstrated next.
To include pre - Exchange 2007 servers, add the switch IncludePreExchange2007 .
Figure 5 - 2 is an example of the detail returned when run against a specific server.
Figure 5-2
Chapter 5: Public Folders
143
Figure 5-3
The Set-PublicFolderDatabase cmdlet is used to configure a public folder database.
Pages:
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238