Powershell Get Variable From Function