I am trying to run a powershell file from command line. What i need to do in command line is
cd D:\Scripts\WTV-MetaRenamer\
powershell -command "& 'D:\Scripts\WTV-MetaRenamer\wtv-metarenamer.ps1' "
I can figure out how to get this done in vba. I have search everything and tried shell and stuff, but I cant figure out how to run one line then the next
Please help