execute powershell scripts

Come up with a useful post-processing script? Share it here!
Post Reply
passie
Newbie
Newbie
Posts: 4
Joined: December 27th, 2010, 4:08 am

execute powershell scripts

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: execute powershell scripts

Post 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.
passie
Newbie
Newbie
Posts: 4
Joined: December 27th, 2010, 4:08 am

Re: execute powershell scripts

Post by passie »

Thank you that worked.


set PATHEXT=%PATHEXT%;.PS1
LetsGetSilly
Newbie
Newbie
Posts: 1
Joined: July 10th, 2012, 3:42 pm

Re: execute powershell scripts

Post by LetsGetSilly »

Can you please post your powershell script for others to use? Thanks in advance!
passie
Newbie
Newbie
Posts: 4
Joined: December 27th, 2010, 4:08 am

Re: execute powershell scripts

Post 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
Post Reply