Friday, December 15, 2017

Print all file in a folder

Twice a year I have to print a lot of files in different formats. It's easy to do with a little PowerShell:

Get-ChildItem c:\receipt\ | ForEach-Object {start-process $_.FullName –Verb Print}

Monday, December 4, 2017

Deploying Office Online Server 2016 to a security hardened drive

I was installing an Office Online Server. And properly the easy thing to install in a complete SharePoint farm setup Smile After installing and configuring the OOS farm. I did a bit of testing. But I ended up with this error:


This error only occur on Word file, not PowerPoint or Excel file Confused smile

After a lot a googling, I found the reason is I installed the OOS on to a D drive “a security hardened drive”.