I’m Locked Out, Help! If you’ve been a sys admin for more than a week you’ve probably heard this…“I’m locked-out, help!”. Normally the user has made their way to your cube and is impatiently tapping their foot waiting for you to magically solve there …
Earlier in August we mentioned that modularity and abstraction are quite helpful. PowerShell modules can help enable these concepts.
You might ask “Modules… why can’t I just write a function?” There are a number of benefits to bundling your functions into modules:
Simplify …
Hello Powershell.org! This is the first time I’ve posted for anyone outside of my own powershell blog site PowerShellMasters.com and I just want to thank PowerShell.org for everything they do for our community. I think most of you would agree that this site is one of the best PowerShell sites …
Password policies are the best 😀 Sometimes they lead to account logouts when someone forgets to logout of a session somewhere on the network though. It might be the TS session they use once a quarter for reporting or maybe you know the feeling when you RDP to a server only to find that it is locked …
Often I have had to check something against all servers or clients. A classic problem and every time I run into the it it’s time consuming and running the job multithreaded would be nice.
A few years back I found a nice little script for multithreading which I have been using quite often. …
It’s no secret that Microsoft’s WebAdministration module isn’t universally loved. It’s functionality isn’t deep, and it doesn’t play well in the PowerShell pipeline. There are also a number of things in it that run really slowly, making bulk administration a pain. …
Modularity and abstraction are a huge benefit in scripting and coding. Which of the following blocks of code are easier to understand?
$SQLConnection = New-Object System.Data.SqlClient.SQLConnection $SQLConnection.ConnectionString = 'Server=SqlServer1;Database=MyDB;Integrated Security=True;Connect …
Working with wifi I have often needed to do a survey of the surroundings, and therefor I loved that windows 7 (maybe even Vista) introduced more advanced netsh with wifi support.
There’s a lot of useful information but it might be nice to have a more graphical overview. The thing is that a text blob …
Are you starting to use version control at work? Are you being pestered by fellow PowerShell aficionados to start learning version control? Did you catch the PowerShell.org Crash Course in Version Control and pick up some Git and GitHub experience? Shameless plug, sorry : )
Version control is just …
Fellow Admins.
A quick chat if you’re new to variables.
So if you’re like me and don’t know any other programing/scripting language then all this PowerShell stuff is a bit daunting. So to help, this articles is on PowerShell Variables. The thing is that Variables in PowerShell are …