[] to locate where powershell.exe installed
PS R:\> [environment]::CommandLine
"C:\LINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe"
[] to determine what logon user currently using powershell
PS R:\> [environment]::CurrentDirectory
c:\Lindows\co\Administrator
Monday, January 19, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment