fix: resolve Exchange runspace and PowerShell invoke API mismatches
This commit is contained in:
@@ -19,7 +19,7 @@ namespace C4IT.LIAM
|
||||
{
|
||||
private static readonly TimeSpan PowerShellInvokeTimeout = TimeSpan.FromSeconds(120);
|
||||
|
||||
private static Collection<PSObject> InvokePowerShellWithTimeout(PowerShell ps, TimeSpan timeout, string operationName)
|
||||
private static PSDataCollection<PSObject> InvokePowerShellWithTimeout(PowerShell ps, TimeSpan timeout, string operationName)
|
||||
{
|
||||
IAsyncResult asyncResult = null;
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user