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 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...

    Mini magick20170210 49079 163ocxb medium
    Titus1024 • 1 year ago
    4 Minute Read
    • 39
    • 220
    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...

    Mini magick20170210 49079 163ocxb medium
    Titus1024 • 11 months ago
    2 Minute Read
    • 7
    • 95
    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. ...

    Mini magick20180425 56 tevk7f medium
    Bill Morrow • 6 months ago
    2 Minute Read
    • 3
    • 38
    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...

    Mini magick20151030 27261 6kxbbr medium
    Michael (Netwrix) • 8 months ago
    2 Minute Read
    • 12
    • 82
    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...

    Mini magick20160804 40782 1ompmjw medium
    lahimakonem • 8 months ago
    2 Minute Read
    • 22
    • 75
    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...

    Mini magick20140529 20624 1d4wfo6 medium
    bertoruiz27 • 1 year ago
    1 Minute Read
    • 16
    • 53
    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 ) ...

    Mini magick20180522 3113 gj2agm medium
    Edwin_Eekelaers • 1 year ago
    2 Minute Read
    • 6
    • 35
    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...

    Mini magick20160811 7710 y174sq medium
    Asmith192 • 1 year ago
    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.

    Mini magick20151030 27261 6kxbbr medium
    Michael (Netwrix) • 2 years ago
    1 Minute Read
    • 10
    • 26
    PowerShell Intermediate

    Learn to script in PowerShell like a professional and start using Try Catch blocks to establish error handling in your scripts.

    Mini magick20171215 32917 kk8zuk medium
    Duffney • 3 years ago
    1 Minute Read
    • 11
    • 31
    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...

    Mini magick20151030 23576 1w11nae medium
    Steve7254 • 9 months ago
    2 Minute Read
    • 9
    • 57
    PowerShell Beginner

    One preconception a lot of IT pros have about PowerShell is that it's some form of arcane sorcery. There's all the commands, a language that's unique unto itself, and scripts that sometimes seem li...

    Mini magick20170804 32840 vsyg6y medium
    Aaron W (Spiceworks) • 3 years ago
    2 Minute Read
    • 21
    • 91
    PowerShell Beginner

    Struggling to get up to speed with PowerShell? Or maybe your game is a little weaker than it should be? No matter where you are, Spiceworks has you covered.  When Microsoft first unveiled PowerS...

    Mini magick20170804 32840 vsyg6y medium
    Aaron W (Spiceworks) • 11 months ago
    4 Minute Read
    • 36
    • 124
    PowerShell Intermediate

    First introduced in 2006, PowerShell replaced the command shell and earlier scripting languages as the preferred task automation and configuration management framework for Windows environments. Bui...

    Mini magick20170804 32840 vsyg6y medium
    Aaron W (Spiceworks) • 1 year ago
    5 Minute Read
    • 53
    • 253
    PowerShell Beginner

    I thought it would be helpful to start a series of how to do some basic things in Powershell. If you are interested in learning Powershell feel free to follow me because I'm going to try and write...

    Mini magick20151026 20466 xi04ez medium
    James for Microsoft • 3 years ago
    2 Minute Read
    • 40
    • 125
    PowerShell Beginner

    Since it was introduced in 2006, PowerShell has, in the words of Computerworld, "transformed the world of Windows administration from a point-and-click GUI to scripts that automate everything, as w...

    Mini magick20170804 32840 vsyg6y medium
    Aaron W (Spiceworks) • 3 years ago
    4 Minute Read
    • 19
    • 57
    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...

    Mini magick20151030 27261 6kxbbr medium
    Michael (Netwrix) • 2 months ago
    1 Minute Read
    • 7
    • 45
    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...

    Mini magick20151030 27261 6kxbbr medium
    Michael (Netwrix) • 2 months ago
    1 Minute Read
    • 6
    • 42
    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...

    Mini magick20170112 14581 11uadec medium
    Ben.B (Spiceworks) • 2 months ago
    1 Minute Read
    • 9
    • 49
    PowerShell Intermediate

    You can create a self-signed 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 ...

    Mini magick20170112 14581 11uadec medium
    Ben.B (Spiceworks) • 2 years ago
    3 Minute Read
    • 4
    • 31
    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...

    Mini magick20151030 27261 6kxbbr medium
    Michael (Netwrix) • 2 months ago
    1 Minute Read
    • 0
    • 11
    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 month ago
    1 Minute Read
    • 0
    • 15
    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...

    Mini magick20151030 27261 6kxbbr medium
    Michael (Netwrix) • 1 month ago
    1 Minute Read
    • 0
    • 9
    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...

    Mini magick20151030 27261 6kxbbr medium
    Michael (Netwrix) • 1 month ago
    1 Minute Read
    • 10
    • 54