.PS1XML - File Extension for Power Shell Type Files

Q

_file_icon.jpg" align="left"/>

What is PS1XML? PS1XML is used as the file extension for Power Shell Type files. .PS1XML files are XML files that are used to store Power Shell Type definitions. See the sample .PS1XML file included below.

✍: FYIcenter.com

A

File Extension: .PS1XML

MIME Type: text/xml

File Content: Power Shell Type

.PS1XML files are Power Shell Type files, that are used to store Power Shell Type definitions. Here is a sample .PS1XML Power Shell Type file, getevent.types.ps1xml:

<?xml version="1.0" encoding="utf-8" ?>
<Types>
  <Type>
    <Name>System.Diagnostics.Eventing.Reader.EventLogConfiguration</Name>
    <Members>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>LogName</Name>
              <Name>MaximumSizeInBytes</Name>
              <Name>RecordCount</Name>
              <Name>LogMode</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
  <Type>
    <Name>System.Diagnostics.Eventing.Reader.EventLogRecord</Name>
    <Members>
      <MemberSet>
        <Name>PSStandardMembers</Name>
        <Members>
          <PropertySet>
            <Name>DefaultDisplayPropertySet</Name>
            <ReferencedProperties>
              <Name>TimeCreated</Name>
              <Name>ProviderName</Name>
              <Name>Id</Name>
              <Name>Message</Name>
            </ReferencedProperties>
          </PropertySet>
        </Members>
      </MemberSet>
    </Members>
  </Type>
...
</Types>

.PS1XML Power Shell Type file sample: Click sample.ps1xml to download.

Since .PS1XML files are in text format, you can use Notepad or any text editor to create or modify them. No special software is needed.

For for information on how to use .PS1XML Power Shell Type files, see links below:

2012-10-25, 2956👍, 0💬