In case you need to determine what language was Windows OS/Server installed run following script in powershell:
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Nls\Language" | Select-Object InstallLanguage
Compare returned HEX value from powershell with this table:
Example of the Powershell script which can modify IE LAN Proxy Exception List to keep current settings (for example pulled by GPO) and extend with custom exception list.Most important is to modify first line.
This guide explains how to download latest camera record available on UniFi NVR server via Powershell through the REST API with SSL self-signed certificate.
Express guide how to to create proper NAT rule (port forwaring) for external and internal network on MikroTik (so called Hairpin NAT).
Since Windows 10 (1703 build 15063 – Creator’s Update) Microsoft natively supports conversion from MBR to GPT via MBR2GPT.exe tool. If you want to proceed with conversion of OS disk and switch Bootable mode from BIOS to UEFI then follow these steps:
This script will download FederationMetadata.xml file on the ADFS server and bypass SSL certificate check.
Normally you would download FederationMetadata.xml via
This is updated version how to install OScam on Raspberry Pi (Raspbian Stretch, Debian or Ubuntu).
(Here is older tutorial:OScam installation on (L)Ubuntu 16.04)
This tutorial will be about installation of latest version OpenATV (during writing of this article version 6.2) for Enigma2 compatible Linux Satellite receivers and installation of OScam (CAM software). Later OScam will be configured to connect to external OScam server and secured by password together with OpenWebIf.
Solution how to fix following error generated in /var/log/syslog by mysqld service on Ubuntu 16.04 with MariaDB 10.0.x:
mysqld: 181210 [ERROR] Error in accept: Too many open files
If you see message above you probably reached default limits of mysqld service. To set open files parameter limit as unlimited, follow steps below:
Script which will scan all DHCP scopes and report in which is MAC address located (if any).
# MAC Address to search:
$MacAddress = "E4-A4-71-4E-21-77"
Import-Module DhcpServer -ErrorAction Stop
Get-DhcpServerv4Scope | ForEach-Object {
# To make static lease uncomment "#" in "#| Add-DhcpServerv4Reservation"
Get-DhcpServerv4Lease -ScopeId $_.ScopeId | Where-Object { $_.ClientId -eq $MacAddress } #| Add-DhcpServerv4Reservation
}
If you wish to make static lease for MAC address, uncomment the “ | Add-DhcpServerv4Reservation”.