I'm tring to use TrueCrypt with powershell. TrueCrypt is an encryption
program which in my case is encrypting a whole drive/partition meaning
the drive lester only shows up after I run the program. I'm running it
inside powershell, but I can't seem to access the drive unless I restart
powershell. Get-PSDrive shows the drive (Obut I can't access it. Is
there a way to get it to refresh or aworkaround without restarting
powershell? Thanks
PS C:\> Invoke-Expression $TCCmdLine | Out-Null
PS C:\> Sleep 5 #give it some time to mount the drive, just in case
PS C:\> Get-PSDrive | Format-Table -auto
Name Provider Root CurrentLocation
---- -------- ---- ---------------
A FileSystem A:\
Alias Alias
C FileSystem C:\
cert Certificate \
D FileSystem D:\
E FileSystem E:\
Env Environment
F FileSystem F:\
Function Function
G FileSystem G:\
H FileSystem H:\
HKCU Registry HKEY_CURRENT_USER
HKLM Registry HKEY_LOCAL_MACHINE
O FileSystem O:\
Variable Variable
PS C:\> dir o:
Get-ChildItem : Cannot find drive. A drive with name 'o' does not exist.
At line:1 char:4
+ dir <<<< o:

but I can't access it. Is
