How to execute a PowerShell Script

preview_player
Показать описание
How to execute a PowerShell Script

Option 1
Right-click on the PowerShell file and select “Run with PowerShell”

Option 2
1. Launch Windows PowerShell, and wait a moment for the PS command prompt to appear
2. Navigate to the directory where the script lives
• PS cd Folder_name (ENTER)
3. Execute the script:

#PowerShell #Scripting #Programming
Рекомендации по теме