I am trying to run multiple Get Commands to retrieve AD information. I piped all of these commands and now I want to write the output to write all the the information ito one csv but at the moment i am getting "a parameter can not be found that matches parameter named 'append'
$OutFile = "C:\Results.csv"
#This gets the managedBy and name
$Domain=Get-addomain|select-object ManagedBy,Name | Export-csv -Path $OutFile -append -notypeinformation
#This gets the distinguished name
$Users=Get-ADUser -Filter *|select-object DistinguishedName | Export-csv -Path $OutFile -append -NoTypeInformation
#Gets User
$ADUsers=Get-ADUser -filter *| Export-csv -Path $OutFile -append -NoTypeInformation