.ps1 cannot be loaded because the execution of scripts is disabled on this system

 

We need to run the following command:

Set-ExecutionPolicy -scope CurrentUser Unrestricted
  • 0 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

Get the free space and total size of each drive in gigabytes using PowerShell

To accurately get the free space and total size of each drive in gigabytes using PowerShell, you...

Script to Calculate Folder Sizes PowerShell

$volumePath = "C:\" # Replace this with the path of the volume root you want to analyze # Get...