I am trying to get the latest changeset id from my tfs branch by using tf command and when i run it from powershell console i can successfully print $tfre
tf
$tfre