FuzzySecurity / PowerShell-Suite

My musings with PowerShell
BSD 3-Clause "New" or "Revised" License
2.61k stars 766 forks source link

Wish: Enumerate Snapshots (available on shared folders) #7

Open CamFlyerCH opened 6 years ago

CamFlyerCH commented 6 years ago

Hello I it possible you can implement this system call (SMB) into powershell ? Previous File Version Enumeration: https://msdn.microsoft.com/en-us/library/cc246471.aspx

I found this code that is working: https://github.com/HiraokaHyperTools/EnumerateSnapshots/blob/master/Source.cpp

The expected result would look like that:

@GMT-2018.05.19-16.00.05
@GMT-2018.05.18-16.00.05
@GMT-2018.05.17-16.00.05
@GMT-2018.05.16-16.00.05
@GMT-2018.05.15-16.00.05
@GMT-2018.05.14-16.00.06
@GMT-2018.05.13-16.00.04

I was unable to transform type definitions to PowerShell.

Thanks to take a look at this. Jean-Marc