Powershell criticism: Part 2

In a previous post, we looked at some powershell oddities when it comes to Credential use. In this “Powershell criticism: part 2”, let’s look at some language construction irritating way to express things shortly, when doing nested enumeration. As a language used by system administrators, you’ll use Powershell in two […]


Powershell criticism part 1

In a Tweet, Jeffrey Snover was asking if the community had anything to say to make Powershell better. This kind of tweet may not be very easy to answer in 280 characters, but if you take time to think about it, it interrogates the way you’re using the language. Did […]


Get-Certificate usage for Web Server

The documentation for the powershell cmdlet Get-Certificate only use generic examples. In this post, let’s see the Get-Certificate usage for Web Server. In our scenario, you have an Enterprise CA whose service is published under the name ‘My Company SubCA I’. You also have duplicated the Web Server template under […]


Get Shortcut contents in Powershell

Some applications create a lot of shortcuts and sometimes you wonder what differences between them are. Or they are created at a locatoin you don’t find practical and want to create them elsewhere. You could click on each shortcut and copy paste the information but so let’s see how to […]


Install Flash Player on Windows Server 2016

When you’re dealing with some legacy software, such as the vSphere web client version 5.x and you’re accessing it from a Windows Server OS, You may need to install Flash Player on Windows Server 2016 for Internet Explorer. If you run a search through Google, Bing, or Qwant, you may […]


Enable RDP with Powershell

Although the Remote Management is enabled by default starting with Windows Server 2012, the RDP access isn’t. To enable RDP with Powershell, you have two steps to perform: Enable the RDP Access Enable the inbound firewall rules Here’s the code:

The second line allows you to specify if you […]


Windows 2016 Remote Desktop cannot verify the identity

When connecting using RDP to a Windows 2016 server, you may receive an error message which seems clueless to you: Windows 2016 Remote Desktop cannot verify the identity of the remote computer because there is a time or date difference between your computer and the remote computer. When you manage […]


WSUSOffline Office 64-bit support

WSUSOffline Office 64-bit support is native but is not activated by default nor it is activable using the graphical interface. WSUSOffline is a tool that allow you tu update OS and Office products by using a share or an ISO image, for those who have to live in a world […]


Changing the System Regional settings after installation using the command-line

Usually you set up the regional settings at installation time by using localized OS Version or unattended.xml. However sometimes you discover after installation that some script from your customer run under the system context needs different settings. In this case changing the system regional settings after installation using the command-line […]


Windows Server OS unattended installation before DevOps

With Azure and  the Container hype, Microsoft is pushing developers and system administrators to automate everything. The graphical Windows platform has become easy to automate with Powershell and the latest versions of the OS. But, already faced with huge server pools decades ago, some of us already had automation workarounds […]