PowerShell Script File Extensions (.ps1, .psm1, .psd1) Explained
The PowerShell script file extension is .ps1. Save your code in a plain-text file that ends in .ps1, then run it from its folder with .\ in front of the name: Output: In this tutorial, I’ll explain each PowerShell script file extension you’ll run into, from .ps1 and .psm1 to .psd1, .ps1xml and .cdxml. I … Read more