Page 1 of 1

execute powershell scripts

Posted: February 18th, 2012, 3:23 pm
by passie
Hi there,

I wrote a Powershell script which cleans up garbage once the files are downloaded and then fetches NL metadata from moviemeter.
Though I'm unable to select the script under categories -> script.
What is the proper way of executing that powershell script post-processing ?

With regards,
Passie

Re: execute powershell scripts

Posted: February 18th, 2012, 6:29 pm
by shypike
Either you call it from a cmd file or
you make sure the extension of the powershell files is listed in
the PATHEXT environment variable.

Re: execute powershell scripts

Posted: February 20th, 2012, 7:17 am
by passie
Thank you that worked.


set PATHEXT=%PATHEXT%;.PS1

Re: execute powershell scripts

Posted: July 10th, 2012, 3:44 pm
by LetsGetSilly
Can you please post your powershell script for others to use? Thanks in advance!

Re: execute powershell scripts

Posted: July 11th, 2012, 1:36 pm
by passie
Sure.
Please note that this script was written for my own movie collection.
Though if you ran into any problems with it, do not hesitate to contact me so I can help you out.

http://tinyurl.com/73q3bhu

Please change the following lines in the mm.ps1 file to your needs.

10 & 11 & 12 and 448

ps: Since I have written this script, all my movies have NL metadata and a folder.jpg. Currently with over 600 movies I have a 100% score. :D