Tuesday, April 15, 2014

Export-PublicFolderStatistics.ps1 en Parameter declarations are…

Bij een Public Folder migratie van Exchange 2007 naar Exchange 2013 of Exchange Online moet je het script Export-PublicFolderStatistics.ps1 uitvoeren op Exchange 2007. Hierbij kun je tegen de volgende foutmelding aanlopen:

[PS] C:\Program Files\Microsoft\Exchange Server\Scripts>.\Export-PublicFolderStatistics.ps1 "C:\PFMigration\folder2mapsize.csv"  Ex2007.domain.local
Parameter declarations are a comma-separated list of variable names with optional initializer expressions.
At C:\Program Files\Microsoft\Exchange Server\Scripts\Export-PublicFolderStatistics.ps1:16 char:168
+         HelpMessage = "Full path of the output file to be generated. If only filename is specified, then the output file will be generated in the current directory.")] <<<<

Deze fout kan voorkomen als je PowerShell 1.0 op de server hebt, om dit script uit te voeren is minimaal PowerShell 2.0 nodig. Download deze hier: http://support.microsoft.com/kb/968929/nl

1 comment:

Anonymous said...

Thank you.

Powershell 2.0 installation solve my problem.