Unsolved
This post is more than 5 years old
6 Posts
0
1506
January 29th, 2018 07:00
ViPR physical host deployment - hostconfig-srm.ps1
Does anyone know if the Powershell script hostconfig-srm.ps1 can be run remotely instead of locally on the server? Documentation nor help file has no mention of remote commands.
No Events found!
fredde1
120 Posts
0
January 30th, 2018 17:00
Hey Graterb:
in the 4.1.1 Solution pack guide page 554-255 it gives the options for the host config script.
There does not appear to be a remote option.
I found a Microsft running remote commands page:
https://docs.microsoft.com/en-us/powershell/scripting/core-powershell/running-remote-commands?view=powershell-5.1
it states:
To run a script on one or many remote computers, use the FilePath parameter of the Invoke-Command cmdlet. The script must be on or accessible to your local computer. The results are returned to your local computer.
so it appears that it would have to be on your computer. if on the computer, you could then run it locally, which proabbly would negate your point.
If you cannot run it locally, your other options would be to install the agent or use passive discovery.
Hope this helps
Tim
graterb
6 Posts
0
January 31st, 2018 05:00
Thank you Tim, I saw those options, but it seems the script is built to run locally. I guess I phrased my question awkwardly. I guess I was asking if there is a script for ViPR physical hosts that runs remote rather than local.
Thank you though.
Bill
fredde1
120 Posts
0
February 1st, 2018 15:00
Hey graterb
According to the solution pack guide that I referenced above there is no remote option documented for that script.
and that is the only script available.
Thanks
Tim