'Windows PowerShell ISE Host' { $current_file_folder = $psISE.CurrentFile.FullPath -replace ($psISE.CurrentFile.DisplayName, "") } ...