configure powershell.
enable execution of PowerShell scripts
- Start Windows PowerShell with the “Run as Administrator” option. Only members of the Administrators group on the computer can change the execution policy.The Default Execution Policy is set to restricted, you can see it by running:
PS C:\Windows\system32> Get-ExecutionPolicy
- Enable running unsigned scripts by entering:
set-executionpolicy remotesigned
Manage Directory
create directory recursively
# $directoryPath = "C:\path\to\create"
$directoryPath = "D:\CodeProject\homemade-dockerfile\novnc-desktop\rootfs\usr\local\lib\web\frontend"
New-Item -Path $directoryPath -ItemType Directory -Force