Skip to content

Tiny Powershell script to run on a Shared Drive to generate a CSV file containing Name, path, size, extension, last modification time, creation time and last access time. You can then compile all those CSV files in a PowerBI report to analyse document a plan migration properly

License

Notifications You must be signed in to change notification settings

SPT-Seb/SharedDriveAudit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

SharedDriveAudit

Tiny Powershell script to run on a Shared Drive to generate a CSV file containing Name, path, size, extension, last modification time, creation time and last access time

.SYNOPSIS In case of Shared drive to SharePoint migration, export all usefull information about all files in specified folder into a CSV file. .DESCRIPTION Export Name, Path, Extension, Size (byte), Creation time, Last modification time, last access time in an UTF8 ';' delimited CSV file. .NOTES File Name : Export-FolderToCSV.ps1 Author : Sébastien Paulet (SPT Conseil) Prerequisite : PowerShell V2 .PARAMETER SourceFolder Full path to the folder to export .PARAMETER TargetCSVBaseName Prefix to use in created CSV Name .PARAMETER TargetCSVFolder Folder where to create CSV file (by default, current folder)

.EXAMPLE .\Export-FolderToCSV.ps1 . "MyCurrentFolderExport" .EXAMPLE .\Export-FolderToCSV.ps1 G:\ "Export-GDrive" .EXAMPLE .\Export-FolderToCSV.ps1 "\my_server_unc\sub_folder" "Export-UNCPathDrive"

About

Tiny Powershell script to run on a Shared Drive to generate a CSV file containing Name, path, size, extension, last modification time, creation time and last access time. You can then compile all those CSV files in a PowerBI report to analyse document a plan migration properly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published