Getting New NTFS Cmdlets

by Jul 27, 2016

PowerShell 3+ / PowerShellGet

In the previous tip we explained PowerShellGet. This module ships with PowerShell 5.0 but is available for download on www.powershellgallery.com for PowerShell 3.0 and 4.0 as well.

Once you have it installed, you can easily add new useful PowerShell modules to your PowerShell. One of our favorite modules is called NTFSSecurity. It adds a bunch of useful commands to deal with NTFS permissions. Here is how you can install this module (provided PowerShellGet is installed):

# download and install the module
Install-Module -Name NTFSSecurity -Scope CurrentUser

# find all new commands shipped by this module
Get-Command -Module NTFSSecurity

# try one of the new commands
Get-NTFSAccess -Path $env:windir

Twitter This Tip! ReTweet this Tip!