PowerShell Function – WordPress.com retrieve blog data using API

A quick PowerShell Function to retrieve blog post data from my blog site - added to Github as may be useful for others! Run this function easily by: Get-Blogs -BlogSiteName "thomasthornton.cloud" Output: If you require further Output data from the used api, you can run $WPBlogRetrieve = Invoke-RestMethod -uri "https://public-api.wordpress.com/rest/v1/sites/$BlogSiteName/posts/?number=100" $WPBlogRetrieve.posts Further info on WordPress.com … Continue reading PowerShell Function – WordPress.com retrieve blog data using API

AzureRM Deployment Fails: See inner errors for details

Running an Azure RM Template and it errors with: Error: Code=InvalidTemplateDeployment; Message=The template deployment 'test_analytics' is not valid according to the validation procedure. The tracking id is 'XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX'. See inner errors for details. Please see https://aka.ms/arm-deploy for usage details. A simple PowerShell command will get you the verbose error log, to assist you with troubleshooting … Continue reading AzureRM Deployment Fails: See inner errors for details