title: Unable to retrieve the value of `software.acceptance` for `EsxCli` using Powercli
body: <p>I am trying to retrieve the value of <code>software.acceptance</code> for <code>EsxCli</code> using the command:</p>
  
  <pre><code>$AcceptLevel = (Get-EsxCli -VMHost $serverhostname).software.acceptance.get()
  </code></pre>
  
  <p>However, I am getting the below error</p>
  
  <pre><code>Object of type 'InternalVimApi_50.ManagedObjectReference' cannot be converted to type 'System.String'.
  At line:1 char:1
  + $AcceptLevel = (Get-EsxCli -VMHost $serverhostname).software.acceptan ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : OperationStopped: (:) [], ArgumentException
      + FullyQualifiedErrorId : System.ArgumentException
  </code></pre>