Automation

 View Only
  • 1.  Reporting Guest VM & Cluster Info...

    Posted Jun 23, 2016 11:34 AM
      |   view attached
    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.





  • 2.  RE: Reporting Guest VM & Cluster Info...
    Best Answer

    Posted Jun 23, 2016 12:02 PM

    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



  • 3.  RE: Reporting Guest VM & Cluster Info...

    Posted Jun 23, 2016 12:21 PM

    Top man LucD!! ;-)