Creat Another Independent Powershell Script through first Powershell Script -
so wanted know how make powershell script a can create powershell script b
the main goal have script b independent of script a (for security purposes). have keys script a , hash them.
i want have script create script b, script b action , taken other separate environments.
so how can i:
a: make new script via first?
b: have, $hash1 (hash of key1), pass on script b, when script b runs in separate vm or pc environment, not require script a use $hash1
thanks
a: powershell script saved text. (=script a) can print text file (for example scriptb.ps) , file can executed.
b: can use "return statement" in script a. , if don't need hash, have write code run without input parameter or use default parameter. , how? if statements probably.
Comments
Post a Comment