Script File (.ps1)

say it: “SKRIPT FYLE” /ˈskrɪpt ˈfaɪl/ or “dot PEE-ESS WUN” /dɑt ˌpi ˈɛs ˈwʌn/

A `.ps1` file of PowerShell commands.

What is Script File (.ps1)?

A script file (.ps1) holds PowerShell commands to run in order. Run it with its path, like .\backup.ps1.

.\backup.ps1 -Destination D:\Backups

Level: Apprentice · More PowerShell terms at this level

Updated