WindowsUtils.Types.ps1xml

<?xml version="1.0" encoding="utf-8"?>
<Types>
    <Type>
        <Name>WindowsUtils.ComputerSession</Name>
        <Members>
            <MemberSet>
                <Name>PSStandardMembers</Name>
                <Members>
                    <PropertySet>
                        <Name>DefaultDisplayPropertySet</Name>
                        <ReferencedProperties>
                            <Name>SessionId</Name>
                            <Name>UserName</Name>
                            <Name>SessionName</Name>
                            <Name>State</Name>
                        </ReferencedProperties>
                    </PropertySet>
                    <PropertySet>
                        <Name>DefaultKeyPropertySet</Name>
                        <ReferencedProperties>
                            <Name>SessionId</Name>
                        </ReferencedProperties>
                    </PropertySet>
                </Members>
            </MemberSet>
        </Members>
    </Type>
    <Type>
        <Name>WindowsUtils.MessageBoxOption</Name>
        <Members>
            <MemberSet>
                <Name>PSStandardMembers</Name>
                <Members>
                    <PropertySet>
                        <Name>DefaultDisplayPropertySet</Name>
                        <ReferencedProperties>
                            <Name>Name</Name>
                            <Name>Value</Name>
                        </ReferencedProperties>
                    </PropertySet>
                </Members>
            </MemberSet>
        </Members>
    </Type>
  <Type>
    <Name>WindowsUtils.ResourceMessageTable</Name>
    <Members>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>Id</Name>
              <Name>Message</Name>
            </ReferencedProperties>
          </PropertySet>
          <PropertySet>
            <Name>DefaultKeyPropertySet</Name>
            <ReferencedProperties>
              <Name>Id</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
  <Type>
    <Name>WindowsUtils.AccessControl.ServiceSecurity</Name>
    <Members>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>Name</Name>
              <Name>Owner</Name>
              <Name>Access</Name>
            </ReferencedProperties>
          </PropertySet>
          <PropertySet>
            <Name>DefaultKeyPropertySet</Name>
            <ReferencedProperties>
              <Name>Name</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
  <Type>
    <Name>WindowsUtils.TcpingStatistics</Name>
    <Members>
      <ScriptProperty>
        <Name>FailedPercent</Name>
        <GetScriptBlock>
          return "$(([double](($this.Failed / $this.Sent) * 100)).ToString('F2'))%"
        </GetScriptBlock>
      </ScriptProperty>
      <ScriptProperty>
        <Name>MinTimes</Name>
        <GetScriptBlock>
          if ($this.MinJitter -ge 0) {
              return "Rtt: $($this.MinRtt.ToString('F2')), Jitter: $($this.MinJitter.ToString('F2'))"
          }
          return "Rtt: $($this.MinRtt.ToString('F2'))"
        </GetScriptBlock>
      </ScriptProperty>
      <ScriptProperty>
        <Name>MaxTimes</Name>
        <GetScriptBlock>
          if ($this.MaxJitter -ge 0) {
              return "Rtt: $($this.MaxRtt.ToString('F2')), Jitter: $($this.MaxJitter.ToString('F2'))"
          }
          return "Rtt: $($this.MaxRtt.ToString('F2'))"
        </GetScriptBlock>
      </ScriptProperty>
      <ScriptProperty>
        <Name>AvgTimes</Name>
        <GetScriptBlock>
          if ($this.AvgJitter -ge 0) {
              return "Rtt: $($this.AvgRtt.ToString('F2')), Jitter: $($this.AvgJitter.ToString('F2'))"
          }
          return "Rtt: $($this.AvgRtt.ToString('F2'))"
        </GetScriptBlock>
      </ScriptProperty>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>Sent</Name>
              <Name>Succeeded</Name>
              <Name>Failed</Name>
              <Name>FailedPercent</Name>
              <Name>MinTimes</Name>
              <Name>AvgTimes</Name>
              <Name>MaxTimes</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
  <Type>
    <Name>WindowsUtils.ModuleInfo</Name>
    <Members>
      <ScriptProperty>
        <Name>HasVersionInfo</Name>
        <GetScriptBlock>
          if (![string]::IsNullOrEmpty($this.VersionInfo.ProductName) -or
              ![string]::IsNullOrEmpty($this.VersionInfo.FileDescription) -or
              ![string]::IsNullOrEmpty($this.VersionInfo.FileVersion) -or
              ![string]::IsNullOrEmpty($this.VersionInfo.CompanyName)) {
                  return $true
              }
     
          return $false
        </GetScriptBlock>
      </ScriptProperty>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>ModuleName</Name>
              <Name>ModulePath</Name>
              <Name>HasVersionInfo</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
  <Type>
    <Name>WindowsUtils.ProcessModuleInfo</Name>
    <Members>
      <ScriptProperty>
        <Name>ModuleCount</Name>
        <GetScriptBlock>
          return $this.ModuleInfo.Count
        </GetScriptBlock>
      </ScriptProperty>
      <AliasProperty>
        <Name>ModuleInfo</Name>
        <ReferencedMemberName>Info</ReferencedMemberName>
      </AliasProperty>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>ProcessId</Name>
              <Name>ImageName</Name>
              <Name>ModuleCount</Name>
              <Name>ModuleInfo</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
  <Type>
    <Name>WindowsUtils.InstallerTableInfo</Name>
    <Members>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>TableName</Name>
              <Name>Columns</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
  <Type>
    <Name>WindowsUtils.ObjectHandleInfo</Name>
    <Members>
      <ScriptProperty>
        <Name>Handle</Name>
        <GetScriptBlock>
          return "0x$('{0:X}' -f $this.HandleValue)"
        </GetScriptBlock>
      </ScriptProperty>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>Handle</Name>
              <Name>Type</Name>
              <Name>Name</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
  <Type>
    <Name>WindowsUtils.Network.Icmpv4Statistics</Name>
    <Members>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>Protocol</Name>
              <Name>MessagesSent</Name>
              <Name>MessagesReceived</Name>
              <Name>ErrorsSent</Name>
              <Name>ErrorsReceived</Name>
              <Name>DestinationUnreachableSent</Name>
              <Name>DestinationUnreachableReceived</Name>
              <Name>ParameterProblemSent</Name>
              <Name>ParameterProblemReceived</Name>
              <Name>TimeExceededSent</Name>
              <Name>TimeExceededReceived</Name>
              <Name>RouterSolicitSent</Name>
              <Name>RouterSolicitReceived</Name>
              <Name>RouterAdvertSent</Name>
              <Name>RouterAdvertReceived</Name>
              <Name>RedirectSent</Name>
              <Name>RedirectReceived</Name>
              <Name>EchoReplySent</Name>
              <Name>EchoReplyReceived</Name>
              <Name>EchoRequestSent</Name>
              <Name>EchoRequestReceived</Name>
              <Name>TimestampReplySent</Name>
              <Name>TimestampReplyReceived</Name>
              <Name>TimestampRequestSent</Name>
              <Name>TimestampRequestReceived</Name>
              <Name>MaskReplySent</Name>
              <Name>MaskReplyReceived</Name>
              <Name>MaskRequestSent</Name>
              <Name>MaskRequestReceived</Name>
              <Name>SourceQuenchSent</Name>
              <Name>SourceQuenchReceived</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
  <Type>
    <Name>WindowsUtils.Network.Icmpv6Statistics</Name>
    <Members>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>Protocol</Name>
              <Name>MessagesSent</Name>
              <Name>MessagesReceived</Name>
              <Name>ErrorsSent</Name>
              <Name>ErrorsReceived</Name>
              <Name>DestinationUnreachableSent</Name>
              <Name>DestinationUnreachableReceived</Name>
              <Name>ParameterProblemSent</Name>
              <Name>ParameterProblemReceived</Name>
              <Name>TimeExceededSent</Name>
              <Name>TimeExceededReceived</Name>
              <Name>RouterSolicitSent</Name>
              <Name>RouterSolicitReceived</Name>
              <Name>RouterAdvertSent</Name>
              <Name>RouterAdvertReceived</Name>
              <Name>RedirectSent</Name>
              <Name>RedirectReceived</Name>
              <Name>EchoReplySent</Name>
              <Name>EchoReplyReceived</Name>
              <Name>EchoRequestSent</Name>
              <Name>EchoRequestReceived</Name>
              <Name>PacketToBigSent</Name>
              <Name>PacketToBigReceived</Name>
              <Name>MembershipQuerySent</Name>
              <Name>MembershipQueryReceived</Name>
              <Name>MembershipReportSent</Name>
              <Name>MembershipReportReceived</Name>
              <Name>MembershipReductionSent</Name>
              <Name>MembershipReductionReceived</Name>
              <Name>NeighborSolicitSent</Name>
              <Name>NeighborSolicitReceived</Name>
              <Name>NeighborAdvertSent</Name>
              <Name>NeighborAdvertReceived</Name>
              <Name>MembershipReportV2Sent</Name>
              <Name>MembershipReportV2Received</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
</Types>