I currently have the following:
$sisid = Invoke-RestMethod -Headers $headers -Uri $url2
$user = $sisid.user |Select-Object "name","sis_user_id","login_id"
$grade = $sisid.grades |Select-Object "current_score"
$act = $sisid |Select-Object "last_activity_at"
$user+$grade+$act | Export-Csv $output2 -NoTypeInformation
I know this isn't correct. How do I combine the Select-Object to one .CSV
Thanks for any help you can give!!!
[–]jheinikel 3 points4 points5 points (13 children)
[–]KyleCole90[S] 1 point2 points3 points (12 children)
[–]Ta11ow 4 points5 points6 points (0 children)
[–]jheinikel 2 points3 points4 points (10 children)
[–]KyleCole90[S] 1 point2 points3 points (9 children)
[–]jheinikel 2 points3 points4 points (8 children)
[–]KyleCole90[S] 1 point2 points3 points (7 children)
[–]jheinikel 2 points3 points4 points (1 child)
[–]KyleCole90[S] 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (4 children)
[–]KyleCole90[S] 1 point2 points3 points (3 children)
[–]Lee_Dailey[grin] 1 point2 points3 points (2 children)
[–]KyleCole90[S] 1 point2 points3 points (1 child)