File extension for PowerShell 3

Solution 1:

PowerShell files for all versions are .ps1 (or .psm1, .psd1, etc.).