PowerShell – Using the WordPress Rest API

I just found out that meanwhile (since October last year) the Rest API for wordpress now also works on self-hosted wordpress sites. So i can now access the content of my blog through PowerShell.

More details abou the WordPress Rest API can be found here

PowerShell – Creating Scheduled Tasks with PowerShell version 3

I am currently working on a script where I need to create a scheduled task that runs a powershell script at a given time. With PowerShell 4.0 a scheduled task can be easily created with the new cmdlets New-ScheduledTaskAction, New-ScheduledTaskTrigger and Register-ScheduledTask, but unfortunately i have to create a solution that works on clients running PowerSshell version 3.0. When searching the web for examples how others have solved this I found many examples where people Read More …

PowerShell – Get latest Microsoft KB information

I frequently visit kbupdate.info which is a great resource for finding latest KB updates, but still you have to manually click through the various lists. Now that I am learning PowerShell anyway, i thought i’ll give myself another task to further improve my PowerShell skills. So here we go, below you find a script that retrieves the latest KB update information for various products and displays them on screen so that I can quickly browse Read More …

PowerShell – Get Stock Quote Information

The below script makes use of a webservice hosted by webserviceX.net and provides stock quote information.

ConfigMgr OSD – Enable .NET Framework 3.5 on Windows 8.1

Windows 8.1 has the .NET Framework 4.5.1 enabled by default. If you need .NET Framework 3.5 which also includes support for .NET 3.0, and 2.0, then you must enable the feature as it is not enabled by default.However to enable it you need access to the content of the Sources\SXS folder that resides on the Windows 8.1 installation media. More details are described in the MSDN article Installing the .NET Framework 3.5 on Windows 8 Read More …

PowerShell – How to qukckly access the Azure Management Portal

Whenever I worked with Azure, first thing i usualy did was fire a web search to get the url for the Azure Management portal. I know I could bookmark it……..it’s just that I already have way too many bookmarks. But today I discovered a nice cmdlet in PowerShell called Show-AzurePortal which gets you automatically to the right place.

Note: You must install the Azure PowerShell cmdlets. http://msdn.microsoft.com/en-us/library/windowsazure/jj156055.aspx

Windows 8.1 – Shutdown and Shutdown

Hey there, when i watched the last edition of “The Defrag Show” this week-end Gov Maharaj gave an interesting explanation about the difference in behaviour when using the Shutdown option within the charms bar or the Widnows X-menu. To keep a long story short. When you have fast boot enabled, the shutdown option in thr charms bar will perform a so-called hybrid shutdown, but when using the shutdown option in the x-menu a full shutdown Read More …

PowerShell – Retrieve App-V 4.6 Package Information

Today we’ve been looking at App-V 4.6 package settings before and after migrating them from ConfigMgr 2007 to ConfigMgr 2012, so after opening the App-V mmc console 3x manually…..another script was born. The below Get-Appv4PkgInfo.ps1 script retrieves information from the App-V Package WMI class. You can run the script against one or more computers and the optional –View parameter lets you define what information you want to see.  

PowerShell – Yet another Sysinternals download script

Today I completed the Microsoft Virtual Academy Advanced Tools & Scripting with PowerShell 3.0 Jump Start course. If you haven’t looked at it yet, I realy recommend you do so, lots of good stuff there. So for the purpose of applying some of the stuff I’ve learned there regarding the use of -Whatif and -verbose messages i wrote the below script which downloads the sysinternals tools.