I'm having difficulties to join a text with 1 string how do I make this join without breaking line in power shell? can you help me.
I Want This:
> PlaybackDevice=AudioDevice
> RingerDevice=AudioDevice
> RecordDevice=AudioDeviceRecord
But i have this on execute:
PlaybackDevice=
$audio.Name
RingerDevice=
$audio.Name
RecordDevice=
$mic.Name
This is my code:
Add-Content "C:\burn.txt*" "RingerDevice=" $audio.Name
Add-Content"C:\burn.txt*" "RecordDevice=" $mic.Name
Add-Content "C:\burn.txt*" "PlaybackDevice=" $audio.Name