Posts

Showing posts from March, 2022

I Feel So NOT Violated- Thank You, Policies ;-)

Image
Ever wondered how those crafty IT support admins lock you out of all that you know Windows can offer you? All of the fun stuff! Well, this blog will walk you through the basics so you can apply the same maniacal tactics to your home system, or take this back to your office.  What kind of policies exists in Windows? There are two types of policies that can be modified by an administrator. Local Security -  these are policies that impact how the system itself is structured for user interactions. (i.e. a user, not an administrator, can be restricted from performing an activity like shutting down the computer) Group - These policies look at how to restrict the users versus how the system responds to users.  If you are thinking about Active Directory, yes Group policies are applied in AD, but we have not gotten there yet. We will cover AD in future posts.  Setting up a Local Security Policy Log into your windows machine, and open Local Security Policy Manager by searchi...

Writing a Powershell Script

Image
I'm not even going to try and re-write any of the wonderful articles out on the web, but I will make suggestions on where you can find great practice materials to practice reading PowerShell.  I believe that reading scripts and code is the best way to find the really cool stuff about a language. Scripting /coding is an art form more than a science because there is no one way to skin a cat. By reading code written by other people, you start to learn techniques and develop questions about how something works. More often than not you will spend a lot of time asking, why the idiot did it that way. That is until you finish the entire script and realize how genius the code actually is.  One final thing before you hop on over to this article to find your first PowerShell script exercise. To make the most out of this exercise you will need to first learn how to start a service as another user. follow the steps laid out below.  The following steps were performed on Powershell 5.1....