Get SharePoint Web Analytics using PowerShell Programmatically

SharePoint 2010 provides a Web Analytics feature which presents a number of useful metrics. However, they do not provide an easy way to get this data using PowerShell. Aside from not having any Out of the Box PowerShell commandlets the API is completely undocumented.

https://gallery.technet.microsoft.com/office/Get-SharePoint-Web-19cd2137