Hi, I see errors with the script running without args, not sure what I'm doing wrong - error below. Thanks.
(last line encapsulated to avoid auto-format)
Get-ChildItem : Cannot find path 'C:\Users\~1\AppData\Local\Temp\FWJSON13042022113004' because it does not exist.
At C:\users\\Downloads\Test-IntuneFirewallRules-main\Test-IntuneFirewallRules.ps1:1750 char:21
'+ $RuleJSON = Get-ChildItem $exportpath*.json'
Hi, I see errors with the script running without args, not sure what I'm doing wrong - error below. Thanks. (last line encapsulated to avoid auto-format)
Get-ChildItem : Cannot find path 'C:\Users\~1\AppData\Local\Temp\FWJSON13042022113004' because it does not exist.
At C:\users\\Downloads\Test-IntuneFirewallRules-main\Test-IntuneFirewallRules.ps1:1750 char:21
'+ $RuleJSON = Get-ChildItem $exportpath*.json'