Quantcast
Channel: Symantec Connect - Ghost Solution Suite - Discussions
Viewing all articles
Browse latest Browse all 1315

GSS 3.1 - Variables - PowerShell

$
0
0
I need a solution

Searches of Google and Symantec forums are turning up nothing of value so I am hoping someone on here is aware of a way to pass a variable into a powershell script as a part of a GSS 3.1 task.  Ex.  Passing the name of the PC in the console into a powershell script to rename the PC.

$compName = %SomeGSSVariable%

Rename-Computer -NewName $compName -DomainCredential foo\someCred -force -restart

0

Viewing all articles
Browse latest Browse all 1315

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>