I did unblock the file as suggested by the initial message.
PS C:\users\jayaram\documents\Blog2017\MSSS\ODataPowerShellExplorer> View-OData.ps1
View-OData.ps1 : The term 'View-OData.ps1' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1