Invoke File Service Integrity Check
This little script will allow you to check a folder location, if that folder location has x number of files, it will restart the service of your choice on a target computer. Then it will log that information and finally it will email someone this information. function...
Copy A User’s Group to Other Users
Often times I am asked to give user a the same rights as user b. Since everything is setup with groups, this is easy to do. All I have to do is copy all the security groups to the new users. Normally I would use the command Get-ADPrincipalGroupMembership whoever, that...
Get Lock Out Info From DC
Have you ever had trouble getting lockout information for a single user? The DCs have the logs, but getting them can be tough. The core idea is to use the Get-Winevent command to gather the logs needed. Doing this from a remote computer is time-consuming. However,...
Mental Health Links
I have been through a few years of hard times with mental health. Mental health is no joke. Mental health is Health and that's final. This Mental Health Links page is designed to help those struggling with mental health. In the IT field, over 89% of techs feel like...
Access PDQ Info with Powershell
You read that right, access PDQ information with PowerShell. You will need the PS SQL Lite module first. This module will allow you to access the SQL lite server. The second thing you will need is a Powershell script on the server accessing the module information....
Ping a /24 Subnet with Powershell
A friend asked me how to ping a /24 subnet the other day. I thought it would be a good little blog post. This is a one-liner. Here we go. 1..254 | ForEach-Object {Test-Connection -ComputerName "10.10.1.$_" -Count 1 | Select-Object Source,Destination,Address,Status} |...
Mitel Director NCC logs
One of the things that have helped me throughout my struggles with Mitel/Shoretel is the NCC logs inside the shoreline data folder. These logs can be hard to read, and very aggravating. Let's look at a log example. Below is a table that explains each of the call...
Local Site Found by a Universal device
We have multiple locations with backup hosted sites. These sites are designed to allow the end-user to access the information they need when the network is down. They are set up with a local database and some basic asp.net coding. However, the devices that communicate...
Password Notifications
I wanted to share a little script that has changed the world at my current company. It's a simple password email notification script. What it does is grabs the users' whos passwords about to expire. Then it emails that user with instructions on how to reset their...
