First Attempt at using ChatGPT for Batch Scripting
Today I needed a quick Windows batch script to check the percentage free space on drive E: and write an event to the event log if it was below 15%. ... The post First Attempt at using ChatGPT for Batch...
View ArticleScript to List File Space by Date
After setting up a Network Video Recorder recently (using Milestone XProtect Essentials software), I needed a way to add up and compare how much disk space is being used for ...
View ArticleTrack IP History and Alert on Change
I wanted to know how often dynamic IP addresses change, and be alerted when they do. In fact, some colleagues have reported that even “static” IPs are sometimes changed without ...
View ArticleRun Downloaded PowerShell Scripts
If you downloaded a PowerShell scripts, for example as part of a .zip file, you may see the message [Script name] is not digitally signed. The script will not execute ...
View ArticleScript Timing Out in MaxFocus Remote Management
Sometimes a script times out because it really is trying to do more than is possible in the time allowed. But what if a script runs fine in the command ...
View ArticleDebugging Scripts in MaxFocus Remote Management
Sometimes a script is failing or timing out when run from the MaxFocus dashboard and you need to duplicate dashboard behavior manually from a command prompt. Here’s how: 1. In ...
View ArticleSet Up and Download Scripts and Helpers
Scripting is great, but if you manage a bunch of computers, how do you get those scripts and their helper programs onto the computers in the first place? I wrote ...
View ArticlePrint Detailed Windows Update Information
Earlier this year, I wrote about how to show and change Windows Update settings on a machine using PowerShell. But sometimes you need to know more about a Windows update ...
View ArticleUninstall and Hide Windows Updates
Sometimes Microsoft releases a bad update via Windows Update. It might be 3035583 that has been released multitple times to to push Windows 10 nag prompts to users. Or 3097877 ...
View ArticlePowerShell Script to Change Windows Update Settings
I’ve already posted a script to show Windows Update settings. What if you want to change the settings? In particular, I needed to be able to use MAXfocus Site Automated ...
View ArticleUpdated PowerShell Script to Show Windows Update Settings
Last year in this article, I posted a PowerShell script to display Windows Update settings. I’ve enhanced that script to show two additional values and to optionally list all pending ...
View ArticleRun Ninite Pro with Nice Logs from MAXfocus
I’ve deployed Ninite Pro to update non-Windows applications on computers that I manage. I’m running it in silent mode but I wanted some decent logging so I can review what ...
View ArticleChange Service Logon Across Network
I needed to change the Advanced Monitoring Agent service to log on as a domain user rather than as LOCAL SYSTEM. Besides changing the service logon, the domain user must ...
View ArticlePowerShell Script to Run a Program Once
I want to deploy CryptoPrevent Portable using the MaxFocus RMM tool. CryptoPrevent sets up software restriction policies to keep programs from running in certain locations. However, it doesn’t actually...
View ArticleMaxFocus Script to Check for CryptoWall Infection
The CryptoWall ransomware virus is getting a lot of attention lately but this is one angle I haven’t seen covered: how to get an alert in the MaxFocus (formerly GFI) ...
View ArticleRegister PC on Brother Scanner
A client reported that his PC was disappearing from the Scan to PC list on his Brother 7065 multi-function device every day, apparently after logging off. When he logged on ...
View ArticleInvoke PowerShell from the Command Line with Parameters
There don’t seem to be too many examples of invoking PowerShell from the command line when the PowerShell command itself has parameters. Here’s one that should work (with a line ...
View ArticleGFI Script to Show Who Is Logged in Locally
GFI workstations only check in every 30-60 minutes, but it would still be helpful to see if anyone was logged on to a workstation at the most recent check-in. If ...
View ArticleGFI Script to Show Windows Update Settings
I wanted to be able to quickly check the Windows Update settings for a bunch of workstations using the GFI MAX RemoteManagement dashboard. I didn’t want to change the Windows ...
View ArticleInstall GFI MAX Agent via Startup Script
GFI MAX RemoteManagement has instructions on using Group Policy Software Settings to deploy the Advanced Monitoring Agent. However, this note warned me off: Please note: to avoid configuration issues...
View Article