Powershell Script and virtual attributes

Hello all,

In a PowerShell Script, I use "$NewStreet = $DirObj.Get("street")" and it work fine.

But if i use the same commande with a Virtual Attributes it's doesn't work:

$Location = $DirObj.Get("CompanieLocation") 

How can I use Virtual Attributes in PowerShell Script?

Thanks ;)

Gégé