XML : Export com Object powershell or convert to XML

I need to export the output of the Fsrm.FsrmQuotaManagerEX COM object to an .XML. I have created this script that gets me the Source template Name an the path for-each configured cuota in the server.

  $cuotaInfo = New-Object -com Fsrm.FsrmQuotaManagerex  $cuotaInfo.enumcuotas()| select SourceTemplatesName,Path    

Output of the command in Windows server 2008 Output of the command in Windows server 2008

I am trying to pipe the output with the cmdlets export-clixml and export-csv but i am getting this error.

enter image description here

¿Any ideas about how to export the output to a manageable file like .xml or .csv?

No comments:

Post a Comment