Get total job run time for your slurm cluster

|

Every year, we have to produce a total of used hours on our compute cluster. The tools for interacting with slurm’s accounting database are complex and the documentation is not very good, so this simple task is incredibly annoying. If you ever have to do this, hopefully you will have an easier time of it. This post is only an example of one way to do the job and there may be better ways.

Who Is Logged On, From The System Context

|

Intro Have you ever deployed a script that needs to be executed in the system context, but you also need to work with something that is currently running in the user context? Obviously you could just loop through all the user profiles on the system, but thats not always a good idea. Lo and behold, you can simply see who is the owner of the explorer.exe process and use that, Obviously this will not work if no one is logged on.

Import Intune Assets into ServiceNow without the costly plugins

|

In cases where an organization does not want to pay the hefty cost of servcenow’s integration hub, there is a way to still be able to import your intune assets into servicenow via the ms service graph api. In this guide, we will be retrieving Intune assets and importing them into the ServiceNow CMDB. Azure Setup Register an app to use Microsoft Graph API: Sign in to the Microsoft Endpoint Manager admin center using administrative credentials.

Evaluating Apple MDM Products

|

About 6 months ago I moved to a new company and, after having been a Windows Admin for basically the previous decade, I’m now a de facto Mac Admin, though I don’t consider myself an expert in macOS or iOS yet. I’m learning quickly, but I also feel like I may have some more conservative views for managing Macs that definitely spill over from my Windows & ConfigMgr days. When I was hired, I knew going in that my first major project would be migrating the entire company from one MDM (Meraki Systems Manger) to another as part of an effort to bring all endpoint management under in-house IT.

Preinstalling Windows Terminal on a Generalized Windows Image

|

In this post, I will show you the steps required to preinstall Windows Terminal (or any signed MSIX Application) to a generalized Windows image. The goal of this post is to create an image of Windows 10 that can be deployed to an IT department that already has Windows Terminal baked into the OS, instead of having to go out to the Windows Store and install it yourself NOTE: This only works on a generalized image.

Using PowerShell and Graph to update Azure AD user photos in bulk

|

Introduction In this post, I’ll give you some background information and show you how to utilize the Microsoft Graph API to bulk update Azure AD user photos. If you’d like to skip the background information and get straight to the nitty-gritty, click here. Background I work at a private K-12 school in the United States. Like many schools out there, we have scheduled portraits once a year for students and staff.

A Password Expiration Script

|

Script Introduction This post will go through the steps required to create and deploy a password expiration script to run daily and send an email to all users whose passwords will expire in a set number of days. Scheduled tasks are the recommended implementation for this password expiration script. There are probably other ways to implement this script; however, this script targets scheduled tasks in Windows. 1 2 3 4 #Clear any stored errors $error.

Deploy Azure VPN Client to Mac

|

App deployment for any computer, Windows or Mac, can be challenging. Widely used apps like Google Chrome are well-developed with options to automate and configure using scripts, MDM config profiles, or even back one-liner terminal commands. When you encounter an app that has little-to-no documented parameters or configurations, it can be frustrating. I choose to look at it as a challenge. Using any tools or ideas available, it’s easy for me to become engrossed in finding an automatable solution.

FSLogix App Masking Rules for M365 Apps

|

I’m deploying Azure Virtual Desktop currently for a client and they want a “general shared desktop” pool that will have a bunch of core apps including Microsoft 365 Apps installed. However, not every user will be licensed for Visio or Project, and only a very select few users are allowed to use Publisher, and fewer still allowed MS Access (They’ve signed contracts so that if they dare create anything in Access, they have to support it for free till day they die, then their next of kin take over support.

Microsoft Teams Cache, a burden to us all

|

Microsoft Teams Cache, we’ve all been there in the last year and a half. Microsoft Teams is working fine, then it’s not. What happened? I restarted Teams and it’s still acting weird. Well, Teams is an interesting app when it comes to its cache. It relies heavily on it. I personally do not know all the ins and outs of the Teams cache, but I too know all too well that it is a pain in the butt when it goes awry.