DaddyDee
Enthusiast
Enthusiast

Reporting Guest VM & Cluster Info...

Jump to solution
Hi vSphere community,
I'm running a simple PowerCLI script (as shown attached) and keep on being prompted to 'supply values for the following InputObject parameter.'
I'm still running Windows Powershell ver 1 and vSphere PowerCLI 6.0 Release 2 on a Windows 7, Update 1 box.  Former will be updated shortly.
Naturally I've blotted out Company info for obvious reasons.
Any tips or pointers will be highly appreciated?
Cheers in advance.



0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership

You seem to have forgotten the pipe symbol ('|') at the end of the line before the line with the Export-Csv.

Export-Csv sees no input, hence the prompt


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership

You seem to have forgotten the pipe symbol ('|') at the end of the line before the line with the Export-Csv.

Export-Csv sees no input, hence the prompt


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
DaddyDee
Enthusiast
Enthusiast

Top man LucD!! 😉

0 Kudos