Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Count  How  Many  Images  Are  Embedded  in  Microsoft  Word  Documents  

 Content of Count How Many Images Are Embedded in Microsoft Word Documents.ps1
MD5 Hash: 8CE65940F413B9077F19E391FF183BF7
$folder = "c:\fso\*"
$include = "*.doc","*.docx"
$word = new-object -comobject word.application
$word.visible = $false
Get-ChildItem -path $folder -include $include |
ForEach-Object `
{
$doc = $word.documents.open($_.fullname)
$_.name + " has " + $doc.inlineshapes.count + " images in the file"
}
$word.quit()


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a