Skip to content

Instantly share code, notes, and snippets.

@martenj77
martenj77 / PhotoOrganizer.ps1
Last active April 13, 2022 10:59 — forked from jongio/PhotoOrganizer.ps1
A PowerShell script to organize photos by date taken. This version should work on a machine with Swedish number format.
Param(
[string]$source,
[string]$dest,
[string]$format = "yyyy/yyyy_MM/yyyy_MM_dd"
)
$shell = New-Object -ComObject Shell.Application
function Get-File-Date {
[CmdletBinding()]