# Get a list of users which have logged on to the domain in the last 7 days $Date = (Get-Date).AddDays(-7) Get-ADUser -Filter {LastLogonDate -gt $Date} | Select distinguishedName
Robocopy. Copy Move Files Older or Newer than X number of days
Script options Move only files under 60days old Move files older than 60days Move files back Move files older than 182 is number of days (6 months roughly) Move only…
WSUS – GPO and Windows 10 / Server 2016 Registry Settings
You create a WSUS GPO and apply it to the Computers. Now how do you validate its working Open the registry and browse to : computer\HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate The GPO for…
WSUS and Windows 10 – Clients not checking in or checking in and then disappearing
Clients not checking in or checking in and then disappearing Cloned images - SUSCLIENTID is not reset with Sysprep!!! This needs to be done if your creating a template for…
WSUS and Windows 10 Clients – UsoClient.exe
So, you deploy a GPO to Window 10 clients, but your in a hurry to get the clients to check in... As a SysAdmin for many years I would log…
Create an ISO file with PowerShell post by Ben Liebowitz
Recently I came across this post. As a VMware admin, you often want to create an ISO as a quick method to copy files or installation files to a VM.…
Client failed to RDP to RDS server following Windows Server Patching – CredSSP updates for CVE-2018-0886
CredSSP updates for CVE-2018-0886 That Monday morning issue when servers were patched on a Sunday... All Windows 10 clients fail to RDP to the RDS server following Windows Server Patching.…
Check / Set / Sync Time Source for Windows Servers
To set the time ( Tested against Windows 2016) Launch CMD as administrator exampled c:\time 09:00:00 AM - This will set the time to 9am Note a time source…
Bit Locker – Windows 10 Pro
A feature of Windows 10 Pro edition Time to enable encryption on all our portable devices? Save your recovery key offline Print it Save it to a USB device Save…
Transfer iPhone 6 pictures to a Windows 10 computer
Install iTunes ( make sure your computer can communicate with your iPhone or iPad. ) Plug in your iPhone with your Lightning to USB cable. Open Windows File Explorer. Right…