Here’s a handy way to use the cmdlet test-netconnection: Need to check a continuous connection to an end-point? Use the while loop: for the -InformationLevel, you can leave it out, or just use either detailed or quiet
Tag: Scripting
Using Powershell to Pull API Information
Up until recently, I was familiar with the idea of client pulling down information from a database. A database requires updates, patching, and maintenance. Usually, I’d be the one doing all that care and feeding, additional to taking proper care
Read More
Azure – resetting a password for a Domain Controller VM
I came across a situation the other day. In my Azure Tenant, I have a VM, a domain controller that hosts, well… my domain. I only use it for testing, most recently I was doing some SSPR testing. I only
Read More
Azure – Import users into cloud via CSV file
There’s a few different methods to import users into your Azure tenant. In the Azure Active Directory Portal https://aad.portal.azure.com -> Users -> Bulk Operations -> Bulk create Or you can use a little powershell This will focus on the powershell
Read More
PowerShell – Change passwords on multiple AD accounts
If you’re like me, you built a new AD for testing. And if you’re also like me, you imported a whole bunch of users into your AD. Some of those users likely had passwords that didn’t quite meet the domain
Read More
PowerShell – Finding all Disabled users in AD
Need to find all the disabled users in your AD? it’s odd that the built in AD Tools do not have this option. PowerShell to the rescue! All these commands are documented in the Microsoft Get-ADUser cmdlet. I’ve added some
Read More
PowerShell – Importing AD users from CSV
What are the situations you’ll need lots of Dummy AD data? When you want to run some awesomely crafted PowerShell AD scripts, that’s where. I was in a situation a few months ago where I needed replicate a VERY large
Read More