Skip to content

Newb needs help #1

@Tyree

Description

@Tyree

I'm certainly a newb to Powershell scripts. But when I right-click the backupPFsense.ps1 file and choose run in Powershell, a window pops up and immediately goes away and no backup is created. If I open PowerShell first and run it from there. I just get this:

backupPFsense.ps1 : The term 'backupPFsense.ps1' is not recognized as the name of a cmdlet, function, script file, or
operable program.

I have all the variables set inside the file, but I wanted to run it manually before setting up the TaskScheduler job.

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions