if you plan to see what the powershell script is doing, open a command window like administrator and then run the powershell like that:
pwsh.exe -ExecutionPolicy Unrestricted
if you got an error try:
powershell -ExecutionPolicy Unrestricted
now you are in the powershell and could run the script like usual without warnings :-)