4 handy powershell commands for managing the file system · russell smith it consultant, author,...
TRANSCRIPT
![Page 1: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/1.jpg)
Russell Smith
IT consultant, author, and trainer.
4 Handy PowerShell Commands for Managing
the File System
Adam Stetson
Systems EngineerNetwrix Corporation
![Page 2: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/2.jpg)
Managing Permissions with PowerShell
• Basic tasks using Get-Acl and Set-Acl
• FileSystem Provider cmdlets installed by default
• No cmdlet to generate reports
• Can’t modify ACEs
• Can’t create or modify NTFS shares
![Page 3: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/3.jpg)
FileSystem Provider PowerShell cmdlets
• Get-Location
• Set-Location
• Get-Item
• Get-ChildItem
• Invoke-Item
• Move-Item
• New-Item
• Remove-Item
• Get-ItemProperty
• Set-ItemProperty
• Clear-Item
• Clear-ItemProperty
• Remove-Item
• Remove-ItemProperty
• Get-Acl
• Set-Acl
• Get-AuthenticodeSignature
• Set-AuthenticodeSignature
![Page 4: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/4.jpg)
Get-Acl Set-Acl
Get-ChildItem Get-EventLog
![Page 5: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/5.jpg)
Other Useful PowerShell cmdlets
New-Item Remove-Item
Copy-Item Get-Content
![Page 6: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/6.jpg)
Demo
![Page 7: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/7.jpg)
Get Permissions
![Page 8: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/8.jpg)
File Shares
![Page 9: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/9.jpg)
Copy Permissions
![Page 10: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/10.jpg)
Create a Directory
![Page 11: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/11.jpg)
Delete a Directory
![Page 12: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/12.jpg)
List a Directory
![Page 13: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/13.jpg)
Add ACE to ACL
![Page 14: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/14.jpg)
Remove ACE
![Page 15: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/15.jpg)
Permissions Report
![Page 16: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/16.jpg)
Report Excess Permissions
![Page 17: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/17.jpg)
Search Event Log
![Page 18: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/18.jpg)
Demonstration
Netwrix Auditor
![Page 19: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/19.jpg)
Product Demonstration
![Page 20: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/20.jpg)
Product Demonstration
![Page 21: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/21.jpg)
Product Demonstration
![Page 22: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/22.jpg)
Useful Links
Free trial: Set up Netwrix Auditor in your own test environment netwrix.com/auditor9.7
Virtual appliance: Get Netwrix Auditor up and running in minutes netwrix.com/go/appliance
In-browser demo: Run a demo right in your browser with no need to install anything
netwrix.com/go/browser_demo
Contact Sales to obtain more information: netwrix.com/contactsales
![Page 23: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/23.jpg)
Questions?
![Page 24: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/24.jpg)
Prize Drawing
![Page 25: 4 Handy PowerShell Commands for Managing the File System · Russell Smith IT consultant, author, and trainer. 4 Handy PowerShell Commands for Managing the File System Adam Stetson](https://reader030.vdocument.in/reader030/viewer/2022040804/5e40cfa9e7479732622da20e/html5/thumbnails/25.jpg)
www. .com
Russell Smith
IT consultant, author, and trainer.
Adam Stetson
Systems EngineerNetwrix Corporation
Thank You!