run Office Online question
i need following. machine abc not have office installed locally. user logged machine abc goes network share , double clicks on office doc (.xlsx, docx etc....) need document launch in office.live.com
now, can modify file association , point .xlsx or docx file run custom powershell script. this powershell script looks this:
(if excel file clicked on.......)
if (test-path "c:\program files\microsoft office 15\root\office15\excel.exe"){start-sleep -m 1}
else {cmd.exe /c "c:\program files\internet explorer\iexplore.exe" "https://office.live.com/start/excel.aspx?"}
my issue not open document clicked on. how done? file this: \\server\share\subfolder\subfolder2\expense report january 2017.xlsx
how launch in office.live?
mqh7
hi mqh7,
thanks visiting our forum.
then forum discuss general questions , feedback excel. since issue related powershell script, i'll move thread following dedicated forum powershell:
https://social.technet.microsoft.com/forums/windows/en-us/home?forum=winserverpowershell
the reason why recommend posting appropriately qualified pool of respondents, , other partners read forums regularly can either share knowledge or learn interaction us.
thank understanding.
best regards,
yuki sun
please remember mark replies answers if helped.
if have feedback technet subscriber support, contact tnmff@microsoft.com.
Windows Server > Windows PowerShell
Comments
Post a Comment