Some times we may get the below error while import module in like power shell
'Run only scripts that you 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 to run without this warning message. Do you want to run c:\program files (x86)\microsoft dynamics NAV\90\Role Tailored Client\Microsoft Dynamics.nav.Apps.Tools.Format.ps1xml?'
as shown below
'Run only scripts that you 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 to run without this warning message. Do you want to run c:\program files (x86)\microsoft dynamics NAV\90\Role Tailored Client\Microsoft Dynamics.nav.Apps.Tools.Format.ps1xml?'
as shown below
Solutions
To resolve this issue,please foollow the below steps,
1.
Right-click on the .ps1 file
in question, and select Properties
2.
Click Unblock in the file properties
3. OK.