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 … Continue reading How to replace an existing static IP address with PowerShell
Tag: How to
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 … Continue reading How to read more easily the WindowsUpdate.log file
Starting with Windows Server 2012, you can now handle directly the IP configuration with PowerShell cmdlets. However, despite the way to go from a DHCP IP address to a static IP address is not easy to find, if you know it, it is pretty easy to understand. Please be aware that you will disconnect yourself … Continue reading How to switch between static IP address and DHCP with PowerShell
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 … Continue reading How to reset file or folder permissions with Powershell
Given that the Description property of the Get-GPO cmdlet has a Set method, this can be done with a simple one-liner.