PowerShell

Microsoft PowerShell is a powerful command-line shell and scripting language that was designed to give IT pros an easy way to orchestrate and automate common tasks. When paired with other Windows tools, PowerShell can help IT departments uniformly set user permissions, apply Group Policy Objects, provision new machines, and more.

    Learn IT skills daily.

    We've just released the beta version of Learn. Read, track progress and be rewarded, learning has never been so simple. Read More about the beta experience.
    PowerShell Beginner

    Regularly Review Local Users and Groups on Your Windows Servers to Harden IT Security Attackers often try to compromise local user accounts to get a foothold in your network. By keeping a close eye...

    Mini magick20180702 23522 1x19c2 medium
    Ryan (Netwrix) • 1 week ago
    1 Minute Read
    • 2
    • 6
    PowerShell Intermediate

    Anyone who manages a file storage has to keep track of the size of files to ensure there is always enough free space. Documents, photos, backups and other can quickly eat up your shared file resour...

    1 Minute Read
    • 2
    • 15
    PowerShell Intermediate

    An Access Control List (ACL) is a list of permissions assigned to objects in a Microsoft environment. It defines which users have access to folders and files located on file servers and which actio...

    1 Minute Read
    • 10
    • 54
    PowerShell Beginner

    A folder that contains sensitive data should not be getting new files without your knowledge. To stay informed about new files in important folders, you can make a point of manually executing a sim...

    1 Minute Read
    • 0
    • 10
    PowerShell Beginner

    How many times has the communications director sent you a ticket asking who, exactly, is in the XXXXX group? Or who is in the XXXXX Distribution List? More often than not the helpdesk n00b will ope...

    1 Minute Read
    • 0
    • 16
    PowerShell Beginner

    IT pros often have to perform routine file management tasks such as finding data and then moving or deleting it. With manual methods, these tasks take up a lot of time, so you might want to automat...

    1 Minute Read
    • 2
    • 3
    PowerShell Beginner

    During your day-to-day tasks, you may need to count the files in a folder on a Windows server or provide full statistics on how many files a folder or contains. This information helps you get bette...

    1 Minute Read
    • 1
    • 10
    PowerShell Intermediate

    You can create a cert to allow you to sign your own Powershell scripts. Using unsigned scripts requires you to completely disable Windows security measures that protect against running unwanted P...

    1 Minute Read
    • 11
    • 50
    PowerShell Intermediate

    Security management best practices recommend controlling access permissions by assigning users to Active Directory groups. Of course, that requires the ongoing task of ensuring that group membershi...

    1 Minute Read
    • 7
    • 44
    PowerShell Advanced

    With PowerShell, you can load Assemblies using Add-Type. These assemblies can contain PowerShell cmdlets as well as other classes. Adding the System.Windows.Forms, for example, adds the necessary c...

    Mini magick20151026 9709 9ef0ma medium
    tfl
    1 Minute Read
    • 0
    • 15
    PowerShell Intermediate

    The rules and settings configured for an organizational unit (OU) in Microsoft Active Directory (AD) apply to all members of that OU, controlling things like user permissions and access to applicat...

    1 Minute Read
    • 8
    • 45
    PowerShell Intermediate

    Auditing NTFS folder permissions is critical to data security. In an Active Directory and Windows Server environment, you can run a simple PowerShell script to get an NTFS permissions report for an...

    1 Minute Read
    • 0
    • 12
    PowerShell Intermediate

    Microsoft Active Directory stores user logon history data in event logs on domain controllers. Starting from Windows Server 2008 and up to Windows Server 2016, the event ID for a user logon event i...

    1 Minute Read
    • 1
    • 13
    PowerShell Intermediate

    Sometimes an uninstaller doesn't get 100% of the application being removed and a service is left behind. Removing the orphan isn't difficult and helps keep the list of services clean and accurate. ...

    2 Minute Read
    • 3
    • 40
    PowerShell Intermediate

    PowerShell is becoming increasingly more popular and is the first choice for Windows administrators to collect information from target systems. Every Windows role ships with its own PowerShell modu...

    2 Minute Read
    • 13
    • 84
    PowerShell Intermediate

    Sysadmins need to keep track of their hardware inventory. Most software deployment systems such as SCCM and PDQ Deploy keep track of the computer info and can generate nice reports. What about the...

    2 Minute Read
    • 26
    • 79
    PowerShell Intermediate

    Use powershell to automate the onboarding/offloading of employees (or students). This will vary from environment to environment. At my current employer (as of 10/2017) we are a K12 school district...

    3 Minute Read
    • 11
    • 58
    PowerShell Intermediate

    We are using Office 365 for 4 of our locations. This is all under one account and each month accounting would ask how much the bill was for each location. I wrote a powershell script to get all the...

    2 Minute Read
    • 10
    • 58
    PowerShell Intermediate

    Ever wanted a simple CSV file with all the Windows updates (w/ installation status)....well want no more. Run the commands below in PowerShell. Make sure to hit enter after each line. I included...

    1 Minute Read
    • 16
    • 54
    PowerShell Intermediate

    Due to the overwhelming positive feedback (thanks again!) I've decided to make another How-To for PowerShell. I'm going to try and add more content to this one so I'll probably be making edits to i...

    2 Minute Read
    • 8
    • 101
    PowerShell Intermediate

    This is my first How-To so I'm not sure if I'm doing this right so be gentle. I've been working with PowerShell for a couple years now and I don't claim to be any kind of a pro at it, I've come acr...

    4 Minute Read
    • 39
    • 224
    PowerShell Intermediate

    Last night a former colleague who turned AS400 sysadmin a few years ago asked me if I knew of a way to check if accounts excisting on his system ( he manages about 10 different IBM AS400 systems ) ...

    2 Minute Read
    • 6
    • 36
    PowerShell Intermediate

    Removing apps for all users works great if your machine is already setup with users using Windows 10. It has been known that an update can potentially put these apps back. Especially if they have o...

    1 Minute Read
    • 26
    • 42
    PowerShell Intermediate

    Maintaining capacity of your file server could be a tough task but with little help of Powershell scripting it's easily achieved.

    1 Minute Read
    • 10
    • 27