Sunday, June 15, 2025

Running a ps1 script

I downloaded a fido script and extracted it onto the desktop.
I opened PowerShell 7 as admin and pasted this in.

cd $env:USERPROFILE\Desktop
Set-ExecutionPolicy Bypass -Scope Process -Force
.\fido.ps1
script will stop so hit enter

The above can all be pasted into PowerShell admin at the same time
If the ps1 file is on the desktop
ExecutionPolicy will be temporarily bypass
File will be executed

To check Execution policy
Get-ExecutionPolicy -List

 Default looks like this:
Scope                         ExecutionPolicy
        -----                         ----------------
        MachinePolicy                 Undefined
        UserPolicy                    Undefined
        Process                       Undefined
        CurrentUser                   Undefined
        LocalMachine                  Restricted

Clonezilla - I'm trying it next time.

Clonezilla I use Rescuezilla but always avoided Clonezilla because of all the questions. I'm trying it next time and here is my cheat sh...