
Jak na připonu ps1
Dobry den.
Mam soubor Convert-WindowsImage.ps1
Když na něj proklikám, tak se otevře v notepadu.
Musím kliknout pravým a dat Run with powerShell
V helpu je
Open PowerShell, change the directory to the folder where you downloaded above convert-windowsimage.ps1 script and run below command
.\Convert-WindowsImage.ps1 –ShowUI
Když dam D:\Convert-WindowsImage.ps1 –ShowUI otevře se mi zas jen ten textak.
Nejraději bych to dal do bataku.
Start .\Convert-WindowsImage.ps1 –ShowUI to samé, jen textak.