Dear sirs
I'm building a powershell GUI application that has multyiple textboxes and comboboxes. I need to export the content of them to a csv, I created a hashtable and tried to export them to csv but it's not working
$props= { @{ textboxotherin = $textboxin1.text textboxother1in = $textboxin2.text textboxinother1 = $textboxin3.text textboxinother2 = $textboxin4.text textboxinother3 = $textboxin5.text textboxhotherincombo = $comboboxin1.SelectedItem textboxother1incombo = $comboboxin2.SelectedItem textboxother4incombo = $comboboxin3.SelectedItem textboxother2incombo = $comboboxin4.SelectedItem textboxother3incombo = $comboboxin5.SelectedItem }
$props| Export-Csv-Path($save.FileName + ".csv")-NoTypeInformation}
any help will be appreciated