header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
PowerShell to create PointPoint dynamically
Last Post 09 Sep 2010 01:58 PM by Marco Shaw (MVP). 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
mikemadden42User is Offline
New Member
New Member
Posts:1
Avatar

--
09 Sep 2010 01:30 PM
    Could someone point me to some documentation on how to script MS PowerPoint with PowerShell/COM? I'm reading 'Windows® PowerShell™ 2.0: Administrator’s Pocket Consultant', and it has a section 'Working with COM and .NET Framework Objects' which has the following Excel example, but I cannot find any example that deals with PowerPoint. $a = New-Object -comobject "Excel.Application" $a.Visible = $True $wb = $a.workbooks.add() $ws = $wb.worksheets.item(1) $ws.cells.item(1,1) = "Computer Name" $ws.cells.item(1,2) = "Location" $ws.cells.item(1,3) = "OS Type" $ws.cells.item(2,1) = "TechPC84" $ws.cells.item(2,2) = "5th Floor" $ws.cells.item(2,3) = "Windows Vista" $a.activeworkbook.saveas("c:\data\myws.xls")
    Marco Shaw (MVP)User is Offline
    Veteran Member
    Veteran Member
    Posts:1641
    Avatar

    --
    09 Sep 2010 01:58 PM
    This may help you to search more effectively by knowing the COM object name:
    PS>$powerpoint=new-object -com powerpoint.application
    Marco

    *Microsoft MVP - Windows PowerShell
    https://mvp.support.microsoft.com/profile/Marco.Shaw
    *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition
    *Blog - http://marcoshaw.blogspot.com
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer