$word = New-Object -ComObject Word.Application
$word.Visible = $false
$docPath = "D:\ruoyiduo\duozuhu\wisdom-Energystoragecar-Intelligent\RuoYi-Vue-master\智配引擎数据库设计文档.docx"
$doc = $word.Documents.Open($docPath)
$content = $doc.Content.Text
$doc.Close($false)
$word.Quit()
Write-Output $content
