PowerShell
Table of Contents
Content
[NTP] force configuration
open a cmd as an administrator, here for example Europe/Paris:
tzutil /s "Romance Standard Time"
- Here is the list of other time zone: Latest Updated List Of Windows 10 Time Zone | Codes | TZUTIL - Device Management Blog
[Biometrics] Enable authentication on Domain
- open regedit in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System
- create a REG_DWORD: AllowDomainPINLogon
- set value to: 1
[RDP] Enable remote
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0
- If blocked by firewall: Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
[WSL] ping without sudo
sudo setcap cap_net_raw+p /bin/ping
[Mac Address] Get leases
blah
Get-DhcpServerv4Lease -ScopeId 10.0.0.0
netsh dhcp server scope 10.0.0.0 show clients 1