public override void ExecuteCmdlet() { DownloadRemoteDesktopProtocolFileOptions options = new DownloadRemoteDesktopProtocolFileOptions(this.BatchContext, this.PoolId, this.ComputeNodeId, this.ComputeNode, this.DestinationPath, this.DestinationStream, this.AdditionalBehaviors); this.BatchClient.DownloadRemoteDesktopProtocolFile(options); }
protected override void ProcessRecord() { DownloadRemoteDesktopProtocolFileOptions options = new DownloadRemoteDesktopProtocolFileOptions(this.BatchContext, this.PoolId, this.ComputeNodeId, this.ComputeNode, this.DestinationPath, this.DestinationStream, this.AdditionalBehaviors); this.BatchClient.DownloadRemoteDesktopProtocolFile(options); }