Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Trying to invoke script from two levels up

$
0
0

I need to execute a script that is in a path structure that is two folders up (back) from my current location.  I can not move either script.  I have tried

invoke-expression -command ".\<script name> with params but get an error saying <script name> is not a cmdlet.

can I use ..\..\?  what is the correct format?

Thanks


Viewing all articles
Browse latest Browse all 6937

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom