public void GetChildItems()
 {
     GetChildNodes().ToList().ForEach(childNode => NodeContext.WriteItemObject(new PSObject(childNode.Value), childNode.PathSegment.Path, childNode.IsContainer));
 }
 protected NodeBase(NodeContext nodeContext, string name) : this(nodeContext, null, name)
 {
 }