Sysadmins of the North (Page 50)

Get Hyper-V guest serial number with PowerShell

Learn how to retrieve the Hyper-V virtual machine's serial number with PowerShell. Sometimes you need to have the serial number of a Hyper-V virtual machine (VM, or guest). You can use this serial number in your automatic, unattended deployment of the guest operating system. But well, you then need to know how to find this serial number...

Read more...

How to block BaiduSpider bot User-Agent?

The Baidu spider (BaiduSpider user agent) can be a real pain to block, especially since it does not respect a robots.txt as it should. This post shows you how to block Baidu Spider bot, using IIS URL Rewrite Module based on its User-Agent string.

Read more...

Optimize PHP's OPcache configuration

Now that you've optimized PHP realpath_cache_size, it's time to fine-tune PHP OPcache. With just a few tweaks you can tune OPcache to make it perform much better, and here is how! ...

Read more...