Tip of the Day: PowerShell Core, generally available and supported!

Today’s tip… As of January 10th, 2018: PowerShell Core 6.0 is a new edition of PowerShell that is cross-platform (Windows, macOS, and Linux), open-source, and built for heterogeneous environments and the hybrid cloud. The blog article below addresses the following: Where do you get it? How do you update a pre-existing PowerShell Core installation to…

1

Tip: PowerShell Reference

PowerShell se stává čím dál více nutnou znalostí každého správce, který se stará o online služby ale i novější serverové produkty. Pokud s ním teprve začínáte, máme pro vás několik tipů pro jeho rychlejší osvojení.


Passing down the WhatIf and Confirm preferences to other cmdlets from an Advanced Function

A colleague of mine was writing a cool function that tidies up the GPOs, and he wanted to implement the -WhatIf common cmdlet parameter in his function. There’s a simple way of doing that, just add the [cmdletBinding(SupportsShouldProcess)] and the param() blocks in the top of your function, add the if ($PSCmdlet.ShouldProcess($target)) {} in the…


Using VSCode and the PowerShell extension in an offline environment

The PowerShell ISE was first shipped with PowerShell 2.0 (November 2006), and greatly improved in PowerShell 3.0 (August 2012), with the PowerShell Tabs, the Show-Command Add-on and the snippets (CTRL+J). But since then, it pretty much stayed the same. Fast forward to May 2017, David Wilson from the PowerShell team announced (amongst other things) that:…


Azure Batch for the IT Pro – Part 1

I spent some time on working with Azure Batch for a customer, and what struck me that it was not so easy for an IT Pro to create a meaningful testing setup. The stumbling point is that you need to have an application doing meaningful work. So what is Azure Batch? It is the PaaS…


Azure Batch for the IT Pro – Part 2

This is the second and final part of a blog series with a walkthrough for Azure Batch. The first part is here: Azure Batch for the IT Pro – Part 1 In the first part I showed you how to create an Azure Batch Account, the corresponding Storage Account, a test application based on Powershell,…


Azure Automation: Shutting Down Custom Tagged Virtual Machines

UPDATE (1/10/2018): The script attached to the article has been updated to correct minor inconsistencies.   Hello everyone! Christopher Scott, Premier Field Engineer. I have recently transitioned into an automation role and like most people my first thought was to setup a scheduled task to shutdown and startup Virtual Machines (VMs) to drive down consumption…


ADPoSh: Find and Fix AdminSDHolder Orphans (AdminCount)

What exactly is an AdminSDHolder Orphan?  This occurs when a security principle/object (User, Group, Computer) in Active Directory gets removed from one of the Privileged Built-in Groups (Protected Groups) in Active Directory, whether directly or nested. To understand this more read up on AdminCount, SDProp or AdminSDHolder topics.  In a nutshell every hour a process…


AzureADPoSh: Azure AD Applications Password Expirations

  Quick Post, I was recently asked how to find all the Application’s Password Expiration Date in Azure AD.  I’m not going to cover what this is or what this is used for (Integrating applications with Azure Active Directory) but if you open Azure AD and navigate to the Registered Applications and select one of…