private void CopyRDPStream(Stream destinationStream, Microsoft.Azure.Batch.BatchClient client, string poolId, string computeNodeId,
                            PSComputeNode computeNode, IEnumerable <BatchClientBehavior> additionalBehaviors = null)
 {
     if (computeNode == null)
     {
         PoolOperations poolOperations = client.PoolOperations;
         poolOperations.GetRDPFile(poolId, computeNodeId, destinationStream, additionalBehaviors);
     }
     else
     {
         computeNode.omObject.GetRDPFile(destinationStream, additionalBehaviors);
     }
 }