When I worked with SharePoint Online and Window PowerShell, I encountered an issue connecting to SharePoint Online. There are few differences between SharePoint Online and SharePoint On-Premise. This blog will show you the steps to access SharePoint Online.
To get started, since SharePoint Online Management Shell is based on PowerShell 3.0, you need to have it installed. If you are running on Windows 7, it’s necessary to install Windows Management Framework 3.0. But if you are running on Windows 8 – with SharePoint 2013, you’re ready to go.