PowerShell File Extensions
Sources:
Extension | Description |
---|---|
.ps1 | Default PowerShell Script File |
.psd1 | PowerShell Data File or a Module Manifest |
.psm1 | PowerShell Script Module File |
.dll | Windows Dynamic Link Library Compliant Binary Module File |
.ps1xml | PowerShell Format and Type Definitions File |
.xml | XML-Compliant Serialized Data File |
.json | JSON-Compliant Serialized Data File |
.yml | YAML-Compliant Serialized Data File |
.psc1 | Console File |
.pssc | Session Configuration File |
.psrc | Role Capability File |
Notes
- The
.dll
, Dynamic Link Library (DLL) file extension is not PowerShell-specific. It is a generic format for storing compiled .NET assembly code. - The
.xml
,json
, and.yml
file extensions are not PowerShell-specific. These are popular information interchange file formats.