I want to convert the Text File to CSV File and below is the Format using Powershell and need some assistance
Content for reference:
Quantity: 30
Manufacturer: Microsoft
License metric: Microsoft Core Infrastructure Server Suite Datacenter Core
Expiry: 31/12/2024
Quantity: 70
Manufacturer: Microsoft
License metric: Microsoft Windows Server Datacenter Core (SA)
Expiry: 31/12/2025
Quantity: 58
Manufacturer: Microsoft
License metric: Microsoft Core Infrastructure Server Suite Datacenter Core
Expiry: 31/12/2024
Convert Text File to CSV (into rows and columns) CSV Header: Quantity, Manufacturer, License metric, Expiry

