Install Office Service pack 2

This topic contains 3 replies, has 2 voices, and was last updated by  Don Jones 3 years, 5 months ago.

  • Author
  • #22793

    H Man

    I would like to install office sp2 remotely by creating a PSSession.

    I will have the kb package in a share .. This is what I have so far

    $Pcs = $computers  | Get-QADComputer -SizeLimit 0 -IncludedProperties LastLogonTimeStamp | where { ($CompareDate-$_.LastLogonTimeStamp).Days -lt $NumberDays } 
    $s = new-PSSession -computername ($PCs  |  select -ExpandProperty name)  -ErrorAction SilentlyContinue
    Invoke-Command -Session $s  -ScriptBlock {  
         net use z: \\Servre01\Share  
         .\officesp2010-kb2687455-fullfile-x64-en-us.exe /quiet /norestart /log:c:\office.txt
  • #22795

    Don Jones

    You have a couple of problems, one being that the second-hop from the computer to the file share will be un-authenticated unless you've set up multi-hop delegation already. The second is that the installer may not run correctly without a user being logged on at the time; you'll need to test that.

  • #22797

    H Man

    Thanks Don I Plan on enabling CredSSP, Do you have any suggestions with CredSSp enabled?

  • #22800

    Don Jones


You must be logged in to reply to this topic.