• Stefy Lanza (nextime / spora )'s avatar
    Replace diskpart with PowerShell for more reliable Windows USB formatting · 578da2d9
    Stefy Lanza (nextime / spora ) authored
    - Use PowerShell Format-Volume cmdlet as primary formatting method
    - More reliable than diskpart with better error handling
    - Get drive information before formatting for verification
    - Keep diskpart as fallback method only
    - PowerShell doesn't require script files and works more consistently
    - Should resolve blank diskpart window and script access issues
    - Modern approach using native Windows PowerShell cmdlets
    578da2d9