My goal is to to force all users in a certain OU to change their passwords at next login. So let's get started. First I need to get a list of my users accounts. We know we can use get-aduser -filter * to get all the users and their properties, however I only want …
3 Tips To Getting Started With Powershell!
Now I'm just at the beginning of my powershell journey however I've discovered a couple of tricks that really help me solidify my scripts: The first tip is to use "get-command *yourmodule*" The first step in any one of my powershell scripts is first figuring out, what is possible with powershell CMDLETS. This is why I …
Continue reading "3 Tips To Getting Started With Powershell!"
Bulk User Creation in Powershell
It seems like the most common way to create users in powershell via the ad module is by using the "import-csv" command and then running a foreach-object on new-aduser. I got the original script from a couple of people on reddit and some blogs on Google. There's not much uniqueness to it besides taking the …
How to create a DFSNfolder with no target in PowerShell
TLDR; to create an empty dfsnfolder you must create a dfsnfolder with a target underneath I spent way too much time banging my head on this one. What I'm trying to do is automate DFS deployments on servers, so naturally I want to create DFSNfolders without targets in them so I can have a fancy-looking structure. The …
Continue reading "How to create a DFSNfolder with no target in PowerShell"
Sonicwall Dynamic DNS: DynDNS Status shows “Network error”
If you have Dynamic DNS via DynDNS and you use it on your sonicwalls you may be getting the status that shows "network error" like the screenshot below... Recently DynDNS changed the way they hash passwords so you will need to reset your password for the service to start working again. Change your …
Continue reading "Sonicwall Dynamic DNS: DynDNS Status shows “Network error”"
Home-Lab Cheslio iWARP and SMB Direct
I wanted to talk about why I chose iWARP as my RDMA transport rather than RoCE. First of all I'm a big fan of always using the open standard to any networking protocol rather than the closed source version. IWARP is an IETF defined standard, whereas RoCE is not. IWARP uses TCP as the transport …