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:
• PS .\hello.ps1 (ENTER)
For the article, please, visit: [ Ссылка ]
#PowerShell #Scripting #Programming
Ещё видео!