Execute a PowerShell Script from a Shared Folder path along with Parameters

Hi All,

How can we execute a PowerShell script (.ps1 file) located in a specific shared folder and pass parameters to it? The parameters should be used by the script during execution.
Example:
Main PowerShell file:
\abcd\efg\testing\qwe\ert\testing.ps1

We need to pass parameters such as:
-Identity aaaa

These parameters will be utilized by the testing.ps1 file when executing.

Can anyone help on the above mentioned case.

Thanks,

Akash

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.