Skip to content

Error with Export-FirewallRules.ps1 #3

@JustGav1

Description

@JustGav1

After Authentication it prompts for the Profile Name.

After I enter the details I get the following error:

The term 'Export-NetFirewallRule' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

is there something wrong with my path?

I had to sign all of the files as needed in my environment.

These are my PS version table - Windows 11 24h2.

Name Value


PSVersion 5.1.26100.2161
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.26100.2161
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Thanks in Advance

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