Active Directory
Retrieve SSH public key from Active Directory for SSH authentication
If you have tens (hundreds) of servers and/or users it's easier to retrieve user SSH public keys from Active Directory (AD) than from various unmanaged authorized_keys files.
WMI Filters for Group Policy to manage Windows Server versions
This post contains some example WMI filters for you to use in Group Policy Objects (GPOs) to target and manage specific Windows Server versions like 2012R2, 2016 and Windows Server 2022 / 2019.
Use -SearchBase with Get-ADComputer for faster results
Using -SeachBase with PowerShell's Get-ADComputer gives me faster results with AD DS queries.
List all SPNs used in your Active Directory
3 unique methods to list Service Principal Names (SPNs) in your Windows network quickly using PowerShell. An SPN or Service Principal Name is a unique identity for a service, mapped with a specific account (mostly service account).
Enable NTFS long paths through GPO in Windows Server
Windows Server 2016 was released last week, meaning we can finally lift the idiotic 260 characters limitation for NTFS paths. For this, you use a GPO or Group Policy Object in Windows Server.
KMS Migration from 2008 R2 to Windows Server 2012 R2 and KMS Activation Known Issues
Learn to migrate KMS from Windows Server 2008 R2 to Windows Server 2012 R2 and KMS Activation Known Issues.
“A domain rename operation is already in progress”
The other day, when I attempted to add a newly installed Active Directory to become the slave domain controller of a master, the error message "A domain rename operation is already in progress" was displayed. Promoting the Windows Server 2012 R2 server to a Domain Controller failed.