Files
claudetools/.mt.ps1
Howard Enos a5b8f6e7b1 sync: auto-sync from HOWARD-HOME at 2026-07-05 13:42:15
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-07-05 13:42:15
2026-07-05 13:43:35 -07:00

14 lines
686 B
PowerShell

$iso = 'C:\Users\howar\Desktop\Win11_25H2_English_Arm64_v2.iso'
$m = Mount-DiskImage -ImagePath $iso -PassThru
$dl = ($m | Get-Volume).DriveLetter
'mounted at ' + $dl + ':'
Get-ChildItem ($dl + ':\') | Select-Object Name | Format-Table -AutoSize | Out-String
$wim = $dl + ':\sources\install.wim'
$esd = $dl + ':\sources\install.esd'
if (Test-Path $wim) { 'install.wim: ' + [math]::Round((Get-Item $wim).Length/1GB,2) + ' GB' }
if (Test-Path $esd) { 'install.esd: ' + [math]::Round((Get-Item $esd).Length/1GB,2) + ' GB' }
'boot.wim: ' + (Test-Path ($dl + ':\sources\boot.wim'))
'setup.exe: ' + (Test-Path ($dl + ':\setup.exe'))
Dismount-DiskImage -ImagePath $iso | Out-Null
'dismounted'