Can someone make a statement?
Perhaps a developer?
Perhaps a developer?
if (!string.IsNullOrEmpty(extractFN))Remove these lines complety. Than "extract" will not work anymore! - That's it!
{
System.IO.File.WriteAllText(extractFN, script);
return 0;
}
Interesting ;-) - I've no idea what to do here...
For some reasons PowerShell does not like relative paths in some cases. You should use absolute paths - or modify PS2EXE...
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
Get-MailboxFolderStatistics MyUsername | ft Name
but have the following error:System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKey Token=31bf3856ad364e35
or one of its dependencies. The system cannot find the file specified. at ik.PowerShell.PS2EXE.Main(String[] args)
This is the ps1;