$x = Get-ADUser -identity sAMAccountName -properties * | select-object Name,Office,Department
$x.Office | Clip
This makes adding select variable easier to copy. I use a form button to have a copy function for selected items.
I like to share tips I randomly get to use. Let me know how much you love this Clip function! 😃