Sometimes you discover that there are many duplicates in your Path environment variable. This happens because most of the software you install just add new paths without formerly checking if they already exist. How to do it with Powershell First, we want to get the current content of the Path environment variable. Now we want […]
Starting with Windows Server 2012, you can now handle directly the IP configuration with PowerShell cmdlets. Unfortunately, there is no cmdlet which directly updates an already existing IP address. You have to use four of them. Please be aware that you will disconnect yourself from the computer if you do this operation remotely. This won’t […]
The C:\Windows\WindowsUpdate.log file is the first basic log file where you can find helpful information when you try to investigate on the installation of updates. However, it is complex to read because the data comes from multiple sources. Among them you have: agent report setup misc sls ep idletmr au PT wutask dnldmgr In this […]
Sometimes you have to face situations where users have manually added additional permissions on files or folders and/or removed inheritance. And now all you want is to make everything clean again by having the same permissions everywhere from the top of the tree to the last leaf. My favorite tool Though you can achieve all […]
Given that the Description property of the Get-GPO cmdlet has a Set method, this can be done with a simple one-liner.