Hi all, is possible to load the $psise object in the console? I want to open several files in ISE but doing
>ise filename
>ise filename2
just open the first one. Inside ISE i don't have that problem because i use the $psise object to open the file
function qwe($file){
if(-not (Test-Path $file)){
New-Item -Name $file -ItemType file
}
$filepath = Resolve-Path $file;
$psISE.CurrentPowerShellTab.Files.Add($filepath)
}