Skip to content

Instantly share code, notes, and snippets.

@xntrik
Created October 28, 2012 07:07
Show Gist options
  • Save xntrik/3967940 to your computer and use it in GitHub Desktop.
Save xntrik/3967940 to your computer and use it in GitHub Desktop.
Adding files to iTunes w/ Powershell
$iTunes = New-Object -comObject iTunes.Application
$iTunesLibrary = $iTunes.LibraryPlaylist
$iTunesLibrary.AddFile('C:\filename.m4v')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment