Categories
System Administration Uncategorized

Bash Script: Set Favorite Servers In “Connect To…” Menu

The Connect To… menu (Command+K) lets you quickly connect to a server using different protocols.  If you are deploying these settings to a bunch of computers, it can be done quickly using a simple bash script.  Just replace or add whatever servers you want into the servers variable (one per line in single quotes).

Categories
System Administration Uncategorized

OS X Yosemite Notification Center Command Line Utility For Scripting And More

Download NCutil.py – Mavericks and Yosemite Use Case OS X administrators can appreciate a good command line utility.  In enterprise environments, it is useful to be able to send out settings to multiple computers at once.  This is part of the reason I started NCutil.py.  I wanted to be able to change the Notification Center alert […]

Categories
System Administration Uncategorized

De Java Vu: Java 8 Update 40–again!

Java has been messing with MN’s testing software TestNav 7.5 by Pearson, which I have written about in detail.  Oracle’s latest update makes things more challenging.  There is also other states having issues with Pearson.

Categories
System Administration Uncategorized

Windows: Uninstall Programs Via Command Line (Sudo Control Panel > Programs and Features > Uninstall)

I love when Windows command line tools are actually useful and friendly.  wmic  is a rare one that fits the bill.  I use the following command to uninstall programs silently (using Java as an example). Find The Program Name Run this command first to get the list of programs you can uninstall: wmic product get […]

Categories
System Administration Uncategorized

Send Commands To All Installed Printers

Using a simple for  loop, you can send a PJL command to all of the printers installed on your machine.  For instance, if you wanted to change the display message on all your networked HP printers, you could loop through all the IP addresses and send it a command.

Categories
System Administration Uncategorized

Altiris: Fix Error 1618: Another Installation Is Already In Progress

I’m still stuck using Altiris 6.9DS.  It works, but it’s also finicky.  I often run into error 1618, which means another install is in progress (download the full error list here).  This is not always the case, but sometimes, other jobs can make it seem this way.  I run a simple command to clear out […]

Categories
System Administration Uncategorized

Java

Oracle, please stop the madness.

Categories
System Administration Uncategorized

Bash Script: Reset Root Volume Name To Macintosh HD

In true Borg fashion, I like to keep the devices I manage consistent.  This includes the volume name: Macintosh HD.  I have a simple shell script that will restore the name if it happens to be changed to something else.

Categories
System Administration Uncategorized

Bash Script: Remove An SSID From The Preferred Network List

I use this script to remove the Guest network from staff computers.  It can be adapted for any network.  Just modify the variable to be the SSID you want to remove.

Categories
System Administration Uncategorized

OS X: Enforce Wallpaper On Mavericks and Yosemite With launchd And Python

If you always want a Mac to have the same wallpaper no matter what, you need a way to enforce it and there are many ways to do this: config profile lock down file and preferences script sent via management software package a .db file and deploy it via management software