What is HKPK The Wikipedia explanation is the following: HTTP Public Key Pinning (HPKP),[1] sometimes incorrectly known as certificate pinning, is a security mechanism which allows HTTPS websites to resist impersonation by attackers using mis-issued or otherwise fraudulent certificates. For
Fake update screens
Replace string in file with sed
Restrict a group’s rights to a specific command with sudo
List DNS conditional forwarders Active Directory forest wide
How to count the mailboxes on each Exchange store
This script counts the number of mailboxes on each Exchange store Script : Get-MailboxDatabase | ` Select-Object Name,@{Name=”Number of users”;Expression={(Get-Mailbox -Database $_.name).Count}} | ` Out-GridView Reference Get-MailboxDatabase This cmdlet is available only in on-premises Exchange Server 2013. Use the Get-MailboxDatabase
Get statistics on Microsoft Exchange databases
Get the cluster quorum type
Get operating system information using WMI
Fill a host file (hosts.txt) with the hostnames you want to retrieve the operating system information Script : $Catalog = GC “C:\hosts.Txt” ForEach($Machine in $Catalog){ $QueryString = Gwmi Win32_OperatingSystem -Comp $Machine $QueryString = $QueryString.Caption Write-Host $Machine “:” $QueryString } Reference