Hi ,
Need to export the below code to csv
Get-MsolAccountSku | ForEach-Object {
Write-Host "`n"$.AccountSkuId
Write-Host "`t* SKUId:"$.SkuId
$result = $.ServiceStatus | ForEach-Object {
Write-Host "`t`t+" $.ServicePlan.ServiceName
Write-Host "`t`t`t- ServiceType:" $.ServicePlan.ServiceType
select $.ServicePlan.ServiceName
}
}
$result | export-CSV 'e:\temp\Chart.csv'