Since SRP policy started on PC can't generate HTTP rural, getting an error:
On SRP logs don't see anything was restricted.C:\Program Files (x86)\WinSCP\Extensions\GenerateHttpUrl.WinSCPextension.ps1 : Cannot dot-source this command because it was defined in a different language mode. To invoke this command without importing its contents, omit the '.' operator.
+ CategoryInfo : InvalidOperation: (:) [GenerateHttpUrl.WinSCPextension.ps1], NotSupportedException
+ FullyQualifiedErrorId : DotSourceNotSupported,GenerateHttpUrl.WinSCPextension.ps1
Can you maybe help how to figure how to fix it?
SRP not blocking .ps1, you can run regular .ps1 script manually.