This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | param( | |
| [string]$DriverDir | |
| ) | |
| # Вывод в кодировке OEM (CP866) чтобы cmd.exe корректно отображал русские символы | |
| [Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding(866) | |
| $OutputEncoding = [System.Text.Encoding]::GetEncoding(866) | |
| # Если путь не передан - используем папку "Drivers" рядом со скриптом | |
| if ([string]::IsNullOrWhiteSpace($DriverDir)) { |