Just trying to set the initial folder as the my documents in a profile -
this fails

set-location [Environment]::GetFolderPath("MyDocuments") 

but in PS prompt,  [Environment]::GetFolderPath("MyDocuments") returns the
folder string correctly. 

 

Ian Thomas

Albert Park, Victoria 3206 Australia

 

Reply via email to