Closed Perrinw closed 2 years ago
Getting error when running (same error when ran $doc | Write-M365DocWord -FullDocumentationPath "c:\temp\$($doc.CreationDate.ToString("yyyyMMddHHmm"))-WPNinjas-Doc.docx")
Connect-M365Doc $doc | Write-M365DocWord -FullDocumentationPath "c:\temp\WPNinjas-Doc.docx"
Write-M365DocWord : Cannot bind argument to parameter 'Data' because it is null. At line:2 char:8
+ CategoryInfo : InvalidData: (:) [Write-M365DocWord], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Write-M365DocWord
resolved
Getting error when running (same error when ran $doc | Write-M365DocWord -FullDocumentationPath "c:\temp\$($doc.CreationDate.ToString("yyyyMMddHHmm"))-WPNinjas-Doc.docx")
Connect-M365Doc $doc | Write-M365DocWord -FullDocumentationPath "c:\temp\WPNinjas-Doc.docx"
Write-M365DocWord : Cannot bind argument to parameter 'Data' because it is null. At line:2 char:8