There are a number of file extensions associated with PowerShell. If you’re not aware of them they may cause you problems. You’ll commonly find these PowerShell file extensions:
.ps1 – a PowerShell script. May contain functionality such as functions… Read the full text.