When using Import-Module you got an unblock file error


PS C:\Users\Administrator> Import-Module PSFTP

Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\Users\Administrator\Documents\WindowsPowerShell\Modules\PSFTP\PSFTP.Format.ps1xml?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): R

To solve that issue go the the properties, then use the "Unblock" option




Comments (0)

There are no comments posted here yet

Leave your comments

Posting comment as a guest.
Attachments (0 / 3)
Share Your Location