8

Get Uptime and Last Reboot Status Using Powershell

Get-Uptime and Last Reboot Status Report

If you’re on a single machine and want to check when the last time a computer rebooted, you would use the systeminfo command and search for the System Boot Time property of that command. But what if you wanted to… Continue Reading

0

List Directories That Haven’t Been Updated in X Amount Of Time Powershell

How to list directories that haven’t been updated in X amount of time. To find this we’re going to use Get-ChildItem and the LastWriteTime property. Here is what the mini script looks like. List Directories That Haven’t Been Updated  … Continue Reading

2

Get NTFS Access Permissions using NTFSSecurity Module

Get NTFS Access Permissions

I have to say Get NTFS Access Permissions and the NTFSSecurity Module is probably one of the best things since sliced bread. Natively, Powershell doesn’t offer a very good solution for checking NTFS permissions so author Raimund Andrée came up… Continue Reading

0

A Quick Guide to Create Office 365 User Accounts with New-MsolUser and Powershell

Create Office 365 User Accounts

In this quick guide we’ll go over the steps to create office 365 user accounts in Powershell using the New-MsolUser cmdlet. If you’re not familiar with New-MSolUser, take a quick glance on Microsoft’s page to get a little more detail.… Continue Reading

3

How to Create O365 Mailboxes in Hybrid Exchange

Create O365 Mailboxes in Hybrid Exchange

So you’re looking to create O365 Mailboxes in Hybrid Exchange, right? As more and more companies move over the to the cloud it’s absolutely essential to keep operations moving along seamlessly.  If you’re one of those companies that just migrated… Continue Reading

2

Encrypting Passwords in Scripts: The Ultimate Best Practice Guide for Powershell

Passwords in Scripts

Unencrypted passwords in Scripts?  We all know that it’s a huge security risk and an overall big no no to have your passwords in plain text.  Sometimes we want to run Scheduled tasks without the need to be standing by… Continue Reading

1

Script: How To Check Password Expirations In Your Domain

Check Password Expiration's In Active Directory

UPDATE: March 1, 2020 Please use the updated script: https://thesysadminchannel.com/get-password-expiration-date-using-powershell-active-directory/ Chances are if you manage users in your organization, you’re going to need to Check Password Expirations In Active Directory to see who’s account is in need of a password change. … Continue Reading

0

How to Get Lenovo Warranty Expiration Status With Powershell | Lenovo Warranty Lookup

If you’re using Lenovo laptops in your environment you most likely have checked to see if your machine is still under warranty.  The Lenovo Warranty Status page works great, the only problem is, is that it doesn’t scale to well.  For… Continue Reading