HIRS/package/win/tcg-rim-tool/hirsshell.ps1

15 lines
711 B
PowerShell
Raw Normal View History

2024-07-30 21:11:52 +00:00
# Script to start a new shell with a rim alias
2024-07-15 19:05:31 +00:00
$StartInfo = new-object System.Diagnostics.ProcessStartInfo
$StartInfo.FileName = "$pshome\powershell.exe"
$StartInfo.Arguments = "-NoExit -Command
`$Host.UI.RawUI.WindowTitle=`'TCG RIM TOOL`';
Set-Alias elt '$PWD\eventlog.ps1';
2024-07-17 18:27:26 +00:00
Set-Alias rim '$PWD\rim.ps1';
2024-07-15 19:05:31 +00:00
echo 'The TCG RIM TOOL is intended for testing TCG Defined PC Client Reference Integrity Manifests (RIMs)';
echo 'for usage type: rim -h';
echo 'for eventlog usage type: elt -h'
Set-Location -Path $PWD;
function prompt {'HIRS > '};"
[System.Diagnostics.Process]::Start($StartInfo)