none
Exportar a CSV RRS feed

  • Pregunta

  • Al exportar a CSV , el fichero me sale en blanco sin ninguna información:

    Get-MsolUser-All|Where-Object{$_.isLicensed -eq"TRUE"}|Select-ObjectDisplayName,@{Name="Administración de derechos ad hoc";Expression={$_.Licenses[0].ServiceStatus[0].ProvisioningStatus}},@{Name="Exchange Online plan 1";Expression={$_.Licenses[0].ServiceStatus[1].ProvisioningStatus}},@{Name="Office 365 Enterprise E1";Expression={$_.Licenses[0].ServiceStatus[2].ProvisioningStatus}},@{Name="Office 365 Enterprise E3";Expression={$_.Licenses[0].ServiceStatus[3].ProvisioningStatus}},@{Name="Office 365 Enterprise E4";Expression={$_.Licenses[0].ServiceStatus[4].ProvisioningStatus}},@{Name="Power BI";Expression={$_.Licenses[0].ServiceStatus[5].ProvisioningStatus}},@{Name="Power BI Pro";Expression={$_.Licenses[0].ServiceStatus[6].ProvisioningStatus}},@{Name="SharePoint Online (plan 1)";Expression={$_.Licenses[0].ServiceStatus[7].ProvisioningStatus}},@{Name="Skype Empresarial Online (Plan 2)";Expression={$_.Licenses[0].ServiceStatus[8].ProvisioningStatus}},@{Name="Skype Empresarial Online (plan 3)";Expression={$_.Licenses[0].ServiceStatus[9].ProvisioningStatus}} |Export-Csv"C:\Users\aespinosa1.ext\Documents\LicenciasIndividuales2.csv"-NoTypeInformation

    ¿Alguien me puede decir que hago mal?

    lunes, 12 de septiembre de 2016 9:44