Quantcast
Channel: scripts – MCB Systems
Browsing latest articles
Browse All 32 View Live

PowerShell: Get-WinEvent vs. Get-EventLog

I’ve been working to write a flexible PowerShell script to retrieve and email warning and error events from computers in a small network. The computers variously run XP, Windows 7, ...

View Article


Install 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


GFI 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 Article

GFI 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 Article

Invoke 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 Article


Register 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 Article

MaxFocus 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 Article

PowerShell 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 Article


Change 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 Article


Run 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 Article

Updated 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 Article

PowerShell 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 Article

Uninstall 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 Article


Print 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 Article

Set 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 Article


Debugging 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 Article

Script 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 Article


Run 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 Article

Track 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 Article

Script 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 Article
Browsing latest articles
Browse All 32 View Live