FileShareUtils
1.0.25
PowerShell module to work on file shares on Windows servers and NAS (like NetApp) WITHOUT using WMI.
Minimum PowerShell version
3.0
Installation Options
Owners
Copyright
(c) 2023 Jean-Marc Ulrich. All rights reserved.
Package Details
Author(s)
- Jean-Marc Ulrich (CamFlyerCH)
Tags
Shares Share SMB ABE netapi32 NetApp Snapshots PreviousVersions
Functions
Get-NetShares Get-NetShare Get-NetFileShares New-NetShare Set-NetShare Remove-NetShare Redo-NetShare Get-NetShareDiskspace Get-NetSessions Close-NetSession Get-NetOpenFiles Close-NetOpenFiles Get-SnapshotPath Get-SnapshotItems Convert-SDDLToACL Convert-ACLTextToShareACL Convert-ShareACLToText Get-DNSReverseLookup
Dependencies
This module has no dependencies.
Release Notes
1.0.25 - 17.10.2026
- Get-NetShares: levels 0, 1, 2, 501 (share flags) and 503 (ScopeName)
- Get-NetShare, Get-NetFileShares: -Level 501 reads the share flags without admin rights
- Share flags also show ContinuouslyAvailable and CompressData
- Clearer errors for missing rights and unsupported levels
- Fix: ShareACLText empty in PowerShell 7
- Fix: Type of special shares (C$, ADMIN$, IPC$)
- Fix: Buffer handling
- Fix: Get-DNSReverseLookup was not available
- New: Tests/Test-NetShareInfoLevels.ps1 shows the readable levels per account
FileList
- FileShareUtils.nuspec
- FileShareUtils.psd1
- FileShareUtils.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.25 (current version) | 5 | 10/17/2026 |
| 1.0.24 | 17,030 | 9/16/2023 |
| 1.0.23 | 1,919 | 3/20/2021 |
| 1.0.22 | 27,359 | 3/24/2020 |
| 1.0.19 | 3,666 | 2/26/2019 |
| 1.0.18 | 142 | 12/1/2018 |
| 1.0.16 | 213 | 7/11/2018 |
| 1.0.15 | 99 | 5/24/2018 |
| 1.0.14 | 46 | 5/20/2018 |
| 1.0.12 | 39 | 5/19/2018 |
| 1.0.11 | 38 | 5/19/2018 |
| 1.0.7 | 39 | 5/19/2018 |
| 1.0.6 | 42 | 5/19/2018 |
| 1.0.1 | 42 | 5/18/2018 |
| 1.0 | 87 | 5/18/2018 |