Notice that in Active Directory Users and Computers (ADUC) when setting the expiration of a user account, there’s only a…
Tag: powershell
Join Computer to Domain with Desired Computer Name and OU
Step #1: This is the simplest method to add a computer to a domain. In this example you will be…
How to Check, Enable or Disable SMB Protocol Versions on Windows?
The Server Message Block (SMB) network protocol is used to share and access folders, files, printers, and other devices over network (TCP…
Get users who haven’t logged in longer than X days (LastLogonDate)
This script might be useful in getting users that haven’t logged for a longer amount of time. It is checking…
Detecting Unlinked GPOs
Unlinked GPOs are just simply policies that aren’t applied to any OU or site. These policies aren’t