Free Disk space on Windows drive

Starting with Windows 2012 (R2), it is no longer necessary to install the desktop experience to remove the different file versions left update after update. The following command can be used:

Options used here are: StartComponentCleanup: removes superseded and unused system files from a system ResetBase: all superseded versions […]

Architecture for the cloud vs. on-premises

The “Architecture for the cloud vs. on-premises” theme has been too often polluted by sales, marketing and guts-opinions sometimes based on IT urban legends. In this post, we’ll try to take a picture of the landscape and see how the work habits should change… or remain the same. The Netflix […]

Visual C++ Build Tools silent installation 2

With the release of Visual Studio 2017, the creation of offline distribution files in order to achieve the Visual C++ build tools silent installation has become easier than in previous versions. The key parameter is the –layout switch which allows to specify where you want to store the offline files. […]

Start Stop service rights to non administrators

LIke any other object in the Windows world, services are objects, you can therefore give users rights on them. Let’s see for example how to allow start stop service rights to non-administrators. In order to change the permissions to a service, you’ll need an account who has rights to change […]

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 1

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 […]