Reputation: 602
Get-HPiLOFirmwareVersion -Server $Server -Username $username
-Password $password | Select-Object IP |
I'm struggling trying to figure out what/where to pipe my results to in order to create/modify an excel document.
Server and IP are my headers. Then I want to fill in with the results from the command.
Upvotes: 0
Views: 432
Reputation: 1674
Piping to Export-CSV is your best option. You can create a native Excel file using PowerShell and .Net, but it's much more cumbersome.
If you have to create/edit an Excel document check out this link: Automating Excel with PowerShell
Upvotes: 1