Skip to main content

Posts

Showing posts from May, 2022

Word document reduce size with lots of pictures

Did you ever find yourself, busy finalizing and creating a word document proposal only to find out that the document cannot be send via email? Why cannot send via email? The document size is too large to be attached and sent by email. Yes, this would happen if the document has quite a few high-quality resolution photos or pictures that are really good in quality. Photos or pictures that has high-quality resolution comes with its own draw back. The size of the photo is quite big. Luckily, for word document we can format the picture or photo and optimized it for email attachment or email sharing. If the document is viewed on the computer, the quality of the photo may not be noticeable. Of course, if the document is printed then the quality of the photo can be seen. So, how do we reduce the size of a photo that is inserted on a word document? First, let’s do a step-by-step process on how to insert a picture to a word document. I know this might be quite obvious if you have b

Set or create a task scheduler using PowerShell or via command prompt

Task Scheduler in Windows or Cron in Linux is a life saver on the Sys Admin world. Why it is a life saver? You can set a scheduled task and forget about it. Of course, provided you have already carefully examined and test multiple times what will be the output when the Task is triggered. Yes, set and forget; once you are confident enough that everything will go smoothly. If there are task that needs to be run at midnight or early hours in the morning, Task Scheduler will come in handy. So, how do we set a Task Scheduler using PowerShell or Command Prompt? Why need to learn both? And not just PowerShell? Well, command prompt is always available on all Windows distribution. While PowerShell might be available on newer Windows system but then some restriction might be in place for security reasons. Therefore, it is good to be familiar with both PowerShell and Command Prompt executable files. PowerShell code snippet below shows how to set or create a Task Scheduler. PowerSh