List all nodes in an S2D cluster and their disks

You can always select other fields, but these seemed the most important to me to see where to find which disk. The output will be a nice list of disks, separated by server:

Read More

Patching servers manually, but remotely

Here’s a short snippet that will allow you to patch machines remotely:

Thanks windowsitpro.com

Read More

Solving a problem with “Get-VM” cmdlet

Environment: Domain “nice.domain” script server “server1.nice.domain” Hyper-V hypervisor “hyperv1.nice.domain” all Windows Server 2012 R2 script user “nice\script” script user is member of “Hyper-V Administrators” group on hyperv1. script user has the “Log on as a batch job” right on server1 Scenario 1: running

in a Powershell console window on server1 (which was started with […]

Read More

Allow an unprivileged domain user to start and stop services on a Windows server

Use case: You have a script server that does recurring scheduled administrative tasks for you. One of these is to regularly restart a remote machine’s service “greatservice1”. create a domain user “yourdomain\script-user-1” use subinacl from the Windows Resource Kit to grant that user the right to start and stop the “greatservice1” service on the remote […]

Read More

Testing IMAP4 + TLS + AUTH with cygwin (or linux), Thunderbird debug

From time to time I have to do some troubleshooting for the IMAP4 protocol on our Exchange infrastructure. Most of the clients are running Thunderbird. For this purpose you can do two things. Start Thunderbird in debugging mode As described in this wiki article, create a batch with the following content:

This will generate […]

Read More