Diary of a Network Geek

The trials and tribulations of a Certified Novell Engineer who's been stranded in Houston, Texas.

10/9/2020

Office 365 Management via PowerShell

Filed under: Geek Work,GUI Center,MicroSoft,Never trust a Network Admin with a screwdriver,The Day Job — Posted by the Network Geek during the Hour of the Hare which is terribly early in the morning or 6:30 am for you boring, normal people.
The moon is a Third Quarter Moon

Not quite DIY DevOps for Office 365, but a good start.

So, it’s been a while since I posted professional geek content on any of my blogs, so I figure I’m overdue. I’ve had a lot of titles over the years, but, at heart, I’ll always be a system administrator. Back in the olden days before any marketing genius came up with the idea of calling hosted services “the cloud” or calling system administration automated with scripts “DevOps”, guys like me were automating routine tasks. I’ve used everything from batch files to bash scripts to Perl, but, on Windows servers, I’ve learned to use PowerShell. It’s powerful and there are a lot of resources for the neophyte to learn, so I’ve applied myself to it to make my life easier.
For instance, I wrote a script that removes users that are disabled and haven’t logged on in more than 90 days, which I shared in a comment on r/PowerShell. Naturally, I started with someone else’s script and modified it for my own purposes, and added in the email feature from another script. Then, I added that to the scheduled processes to run once a month, just to keep Active Directory cleaner. The other day, I was on r/sysadmin and read about someone having a problem on Office 365 with stolen credentials. I hate to say it, but it’s becoming a more and more frequent issue with everyone working from home. The only way to fix it, really, is to get some kind of multi-factor authentication. But, in that thread, someone referenced a script from Microsoft’s GitHub repository for Office 365 scripts meant to quickly help remediate the breach and close the hole left by the compromised credentials. It’s pretty slick, though I think I’d modify it to accept a command-line variable with the username instead of coding that in, but it’s a pretty slick script that can mean the difference between a few spam emails and hundreds. Also, it automates a lot of the standard stuff we do by hand when a breach occurs.
If you’re a sysadmin, it’s definitely worth a look and the rest of that GitHub repository has scripts to do all kinds of things with Office 365 by way of PowerShell. It’s a great place to start building your own scripts and automating your workflow.

So, that’s my geeky PSA for the professional geeks among us.
Enjoy!

6/12/2020

SysAdmin Software For Your Budget

Filed under: Life Goals,Never trust a Network Admin with a screwdriver,News and Current Events,The Day Job — Posted by the Network Geek during the Hour of the Hare which is terribly early in the morning or 6:30 am for you boring, normal people.
The moon is Waning Gibbous

Everyone’s IT budgets are shrinking this year, and probably next year, too.

This isn’t the first time I’ve been through a down-turn in the economy. And, every single time, no matter what the industry I’m in, IT and software purchases are some of the first casualties. Unless you work in an industry that is really deep into software and systems, it can be really hard to sell a software purchase to upper management, even under the best of circumstances. SO, now, with things as tight as they are, it can be almost impossible. One of the reasons I almost never worry about being unemployed for long is that I’m blessed with a reputation of doing more with less. I’m the kind of guy that will use PowerShell and batch files to build middleware. And, I’m absolutely the sort of geek who’s willing to put in some effort to use free, open source software to fill a need when a budget gets tight. So, since I’ve mostly been posting new content at my other blog, I thought I’d share something appropriate to Diary of a Network Geek, the first blog I ever started.
I’ve had this link for a couple of months at least, but there’s been a lot going on lately, so I haven’t shared it, until now. This week, I’m suggesting you take a look at Awesome Sysadmin, a curated list of amazingly awesome open source sysadmin resources, which is a fork of the older Awesome Sysadmin, a curated list of amazingly awesome open source sysadmin resources inspired by Awesome PHP. (I know, those names are confusingly redundant and vague.) I have to admit that I’ve only used a few things off these lists, but Clonezilla and NAGIOS were both solid tools for me when I had a shoestring budget and had to get stuff done. In fact, I still use Clonezilla because, frankly, it works so well. We use it to image Windows 10 machines without any issue. Laptops or desktops, either one works fine. So, if you’re in the network plumber business, as I refer to system administration, these lists are a great place to “shop” for free, open source software that can help you add another tool to your digital tool bag. And, yes, they may take a little extra time to set up and configure or may require reading some documentation, but that will just help you sharpen your skills.

And, with all the money you save on software, you can afford to donate to causes that support a United States of America that is truly free and equal for all of her citizens, like the ACLU or the NAACP Legal Defense Fund or some other civil rights cause that scratches your political itch. Not everyone may be willing to risk their life or incarceration to protest injustice, but a monetary donation can help support those people who are fighting that fight.
Or, if you still can’t afford a straight donation, we can support more minority businesses. There’s a great list of resources for Black freelancers at Freelancers Union that include lists of Black businesses we can support.

And, of course, we can continue to educate ourselves, because it is OUR responsibility to educate ourselves as to the condition of our fellow citizens, not theirs. If you’re not sure where to start, this list from the Chicago Public Library can help. We can read books from lists like that and continue to educate ourselves because this is an issue that we can’t ignore anymore, no matter who you are or what you do for a living.

7/25/2008

Happy Sysadmin Day!

Filed under: Fun,Fun Work,Geek Work,News and Current Events,Red Herrings,Rotten Apples,The Dark Side — Posted by the Network Geek during the Hour of the Horse which is around lunchtime or 12:28 pm for you boring, normal people.
The moon is a Third Quarter Moon

Oh, wow, I almost missed it this year!

Today is System Administrator Appreciation Day.
I was reminded by Gizmodo that today is the day to remember the geeks that make your network run.  Sure, you’d mostly rather see us locked into our server rooms and hardware closets, but, admit it, when something goes terribly wrong with your computer or network, you’re actually happy to see us.  So, since you’re able to read this, find your local system administrator and tell them thank you for letting you waste time reading my blog on the Internet instead of working on a Friday afternoon.


Powered by WordPress
Any links to sites selling any reviewed item, including but not limited to Amazon, may be affiliate links which will pay me some tiny bit of money if used to purchase the item, but this site does no paid reviews and all opinions are my own.