pdqcom / PowerShell-Scanners

A community repository of PowerShell Scanners for PDQ Inventory.
MIT License
182 stars 74 forks source link

ERROR: The term '.\\file.ps1' is not recognized as the name of a cmdlet #103

Closed tomaszzlobinski closed 1 year ago

tomaszzlobinski commented 1 year ago

Hi, I have a problem with scanners, none of them want to work. I get the following message every time.

[14.04.2023 11:35:11] ERROR: The term '.\PSB40504B14A2356402B1BECCA5D62E278A245DFD1DB6EDA32F2317F9776F85EB0.ps1' 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. At line:1 char:19 I imported the scan according to the instructions

Scans are added according to the instructions, a screenshot of the scan settings is attached image

image

tomaszzlobinski commented 1 year ago

Hi, it was a problem with blocked PowerShell by gpo.