PST Find,Rename and Move

Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
Posts: 15
Joined: Sun Mar 03, 2013 12:43 pm

Re: PST Find,Rename and Move

Post by dwight.brookland » Mon Aug 27, 2018 12:07 pm

That worked. adding the -arglist $var1,$var2,$var3 to the invoke-command and then using the $using:var1, etc worked like a charm.

Thanks again.

Posts: 14136
Joined: Tue May 22, 2007 9:57 am

Re: PST Find,Rename and Move

Post by jvierra » Mon Aug 27, 2018 12:15 pm

You don't need and should not use both methods.