Wednesday, 18 November 2020

Power Shell Scripts

1: 
Q1) Execute power-shell script ps1 file from another power-shell script file.


Ans: 
$archiveModelsPS = '\Untitled4.ps1'

&((SPLIT-PATH $MyInvocation.InvocationName)+$archiveModelsPS)

No comments:

Post a Comment