private IEnumerable <PSNodeVMExtension> ListExtensions(string poolId, string nodeId, PoolOperations poolOperations, ListComputeNodeExtensionParameters options)
        {
            WriteVerbose(string.Format(Resources.GetComputeNodeExtensions, poolId, nodeId));

            IPagedEnumerable <NodeVMExtension> extensions = poolOperations.ListComputeNodeExtensions(poolId, nodeId, options.AdditionalBehaviors);

            return(PSPagedEnumerable <PSNodeVMExtension, NodeVMExtension> .CreateWithMaxCount
                   (
                       extensions,
                       e => { return new PSNodeVMExtension(e); },
                       options.MaxCount,
                       () => WriteMaxCount(options.MaxCount)
                   ));
        }