I need to get count of character in word document via power shell ? it is any way to do it ? I have some code like this but I suggest it is could be way without Paragraphs
$Word = New-Object -comobject Word.Application
$Word.Visible = $False
$datasheet = $word.Documents.Open("d:\Test words.docx")
$FirstParagraph = $datasheet.Paragraphs[1].range.Text
$FirstParagraph | measure -Line -Character -Word
$datasheet.close()
$word.Quit()