Skip to content

Instantly share code, notes, and snippets.

@cooltig
cooltig / PhotoOrganizer.ps1
Created January 20, 2023 15:03 — forked from jongio/PhotoOrganizer.ps1
A PowerShell script to organize photos by date taken
Param(
[string]$source,
[string]$dest,
[string]$format = "yyyy/yyyy_MM/yyyy_MM_dd"
)
$shell = New-Object -ComObject Shell.Application
function Get-File-Date {
[CmdletBinding()]