Count KACE Devices by Location from a CSV Export
Export your KACE device inventory to CSV and get a per-location (or per-label) device count, optionally just the machines added this week.
The script library
PowerShell and automation, with the context behind the code.
Export your KACE device inventory to CSV and get a per-location (or per-label) device count, optionally just the machines added this week.
On Windows 10 and 11 there's no Windows Update logging to switch on. The trick is collecting it, and this script does that in one zip per machine.
A read-first WinRM check that tells you why remote PowerShell won't connect, fixes it only when you ask, and doubles as a ConfigMgr compliance script.
Clear the Windows DNS client cache locally or across a list of machines, and know when a flush will actually fix anything.
For the Entra-joined PC that never showed up in Intune. Check it's ready, kick off enrollment, and see why it failed if it does.
Getting devices into Intune · Note 3 ↗Load mobile numbers into Entra ID as an authentication method before users ever sign in, without stomping on numbers they've already registered.
Point each domain controller at a partner DC first and itself (127.0.0.1) last, the way Microsoft recommends, across all your DCs in one pass.
Audit who still talks SMBv1 to your machines, then switch it off for good, with one script and three modes.
Turn on Dell's Password Bypass so patch reboots don't sit at a power-on password prompt all night, then turn it back off when you're done.
List the preview handlers installed on a PC, see which one each file type uses, and point extensions like .log, .ps1 or .json at the handler you want.
Create the Tier 2 OU, its sub-OUs and the group that manages them, and delegate just enough rights for workstation and user admin work.
Dump every OU in the domain to a spreadsheet, with a readable path, depth, GPO link count and, if you want, how many objects live in each one.