When using Import-Module you got an unblock file error

Example:

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

 

 

 

Leave your comments

Post comment as a guest

0

Comments

    • No comments found