Sometimes we need to schedule the reboot of a server after hours. We can do this very easy with Task scheduler and PowerShell. Open Task Scheduler and create a new basic task. Give it a meaningful name: And press Next. Set it to One time and press Next: Set the date and time for...
Azure Site to Site VPN without dedicated VPN hardware device
Today I will be writing about creating a Site to Site (S2S) Virtual Private Network from your Azure virtual network to your on-premises network without the need to use a dedicated VPN hardware device. Requirements: active Azure subscription Azure Resource Group Azure virtual network on-premises VM to install Windows Server 2019 proper firewall settings....
Configure network interface order in Windows Server 2016/2019 and Windows 10
I get asked a lot about this: What is the easiest way to configure network interface order? The simplest way is to use the network metric in order to be able to actually configure this order. The order in which adapters appear in a list is determined by the IPv4 or IPv6 interface metric.When...
“Watch” command in Windows
These days I needed to be able to check on the execution of a repetitive task. If I would use linux I could use the watch command but I am a Windows guy. So I came up with an alternative – I created a bat file with the below content: To change the duration...
Finding the WSUS server from which updates are downloaded
Open an administrative command prompt and type: Reg query „HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate” /s |findstr „WUServer” The result is something like below: WUServer REG_SZ http://wsusservername.domain.comUseWUServer REG_DWORD 0x1 Done!
Lab building tool
Hi All, I would like to recommend a tool for building labs quickly – WSLAB. You can download it here https://github.com/microsoft/WSLab
Setting the IP address in Windows recovery mode
I had to restore a server and when trying to get to the network to access the backup I had an error saying there was no IP address. I tried running name="Local Area Connection" static IPAddress subnet mask gateway but I received an error: unknown connection. To fix this we need to first run...