here are some basic variables used to automatic power shell cmd.
$Home = Home Directory; as %homedrive%%homepath%
$Pshome = where power shell directory is installed
$Host = Current Console Host as Version number
$Home = Home Directory; as %homedrive%%homepath%
$Pshome = where power shell directory is installed
$Host = Current Console Host as Version number