I just typed the follow to try and get my SharePoint site:
$spWeb = Get-SPWeb -Identity \"http://nycs00058260/sites/usitp\"
It gave me the
Instead of Windows PowerShell
, find the item in the Start Menu called SharePoint 2013 Management Shell
:
I think this need to be run from the Management Shell rather than the console, it sounds like the module isn't being imported into the Powershell console. You can add the module by running:
Add-PSSnapin Microsoft.Sharepoint.Powershell
in the Powershell console.
Run this script from SharePoint 2010 Management Shell as Administrator.