VMware Cloud Community
DaddyDee
Enthusiast
Enthusiast
Jump to solution

Reporting Guest VM & Cluster Info...

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.



Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

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

Reply
0 Kudos
DaddyDee
Enthusiast
Enthusiast
Jump to solution

Top man LucD!! 😉

Reply
0 Kudos