Capturing Screen as GIF File

Last second day of the beautiful 2016 and while we are waiting to welcome 2017, we should not let loose in terms of learning. Therefore, while doing my SAPIEN PowerShell Studio learning, I found out that I will need a tool to capture some screen movement but I wouldn’t want to record it as a Video formatted file.

I remember that I have seen my idol Scott Hanselman using one of them on one of his many blog articles. I went on to Google a little and I found ScreenToGif. This is a pretty decent tool and I quickly download it. It is a single executable file that require zero installation which comes in handy as I can then put it on my DropBox / OneDrive and made it readily available on all my personal / workstation.

Once you launch the application, you will be presented with a simple layout with icons as shown below.

ScreenToGif_01

Click on “Recorder” and you are all set to select the screen area that you want to do the recording.

ScreenToGif_02

Remember to click on the record button which is at the bottom right hand corner represented with a red circle. Once you are done with your screen recording which generally in my opinion should not be more than 15 seconds for blog entry so that it will not create a huge file.

Once done, click on stop and you can choose to edit or save the GIF file. Below is an example that I have made as part of my learning of SAPIEN PowerShell Studio.

02_Adding_Button_To_Form

Thanks for reading and hope you will find this tool useful!

Cheers,
Milton

Using iPad as a 2nd Monitor–Duet Display

Within this year, I see myself spending more time outside of my office than in the office which is rather something that I am looking for. There are times when I just needed one more monitor than just the laptop itself so that I can cross-reference some documents on Excel Spreadsheet along with what is being displayed on the main monitor especially when I am meddling with the system configurations of the customer systems.

Ideas have been storming into my mind all these while but every time a new idea emerged, I will start to think of the Pros and Cons. I did remember my good friend Matt Hitchcock has recommended to me the ASUS MB169+ which is an awesome piece of gadget! However, there are many constraints that prevented me from getting one of those external monitors that are powered by USB.

  1. I am using a HP Elitebook 840 G3 which comes with Two USB ports. I am generally happy with this machine as I have upgraded it to 16GB and it has built-in SSD which makes running a full lab that able to simulate the whole Condeco Enterprise suite of products.
  2. Although I am using a TUMI Alpha 2, it does have space limitation too although it is really huge! Moreover, I didn’t want to intentionally carry a truck full of loots with me each time I travel from place to place.
  3. Do I really need to lug around a 15” monitor with me all day long?

Therefore, I did a search online and chanced upon this software known as Duet Display. This generally fits into my use-case as I recently just upgrade my iPad Mini Generation 1 to a refurbished set of iPad Air 2 which I am really happy with till now.

Duet Display is free to download on your Mac OS X or Windows computer as the licensing is count towards the device you used as the additional screen. In terms of pricing, it is on the high side of an iOS application as it is priced at SGD 28.98.

Nevertheless, being productive at whatever one is doing is getting more and more important to me. I aimed to be able to improve and increase productivity for not just myself but for all the people around me who are keen to do so. On the flip side, the money spent on the App isn’t that significant anymore because I always believe that if one can splurge on good meals, they should be responsible for their own productivity. Therefore, one should invest in their well-beings. In the past, I have used other application which taps on the Wireless Network in order to connect as a secondary screen but the disadvantage of that would be it is always dependent on the wireless strength.

The setup of the application and have it connect to my Windows 10 laptop isn’t that difficult and can be done swiftly within 10 minutes including the time taken to download the application. Connect the iPad with the lightning cable and everything works like a charm. Here is a photo of the end result.

Duet_Display_11

Below is the step of step setting up of the application on my iPad after downloading from the Apple App Store.

1. The Application is easily found in the Apple App Store.

Duet_Display_01

2. Welcome screen

Duet_Display_02

3. Guide you to install the necessary software on your Mac OS or Windows computer.

Duet_Display_03

4. Typical application behaviour where they will ask you for permission to allow notifications to be shown. One thing that caught my eye is that it will keep track on how many hours that the software provides in terms of Productive Hours. This just co-relate with, how much frustrations has been saved and how much time was saved just by able to be more productive.

Duet_Display_04

5. Next is the signing up of marketing emailers.

Duet_Display_05

6. Now the most essential part where it is awaiting for the iPad to be connected.

Duet_Display_06

Once the iOS powered device is connected, it will automatically launch iTunes (if you have it installed) and automatically it will connect and display as a secondary screen as shown earlier in this post.

Some of the highlights of this Application is the help screen which generally gives me a very neat feeling.

Duet_Display_08

If you have an Apple iPad and wish to increase your productivity by having an additional screen, please go ahead and try out Duet Display.

Cheers,
Milton

Synology integrate with OneDrive

When I surfing through the web and I happened to chanced upon Synology website having some keyword of Cloud Storage Provider such as OneDrive, Dropbox and Google Drive. So I went to dived down deeper went I am home.

Upon logging into my Synology NAS (DS412+), I found Cloud Sync in the Package Center. Went ahead to install it and found the following.

Synology_OneDrive_01

Wow, look at what Synology have done for the consumer out there! We are able to synchronize so many different types of cloud provider via the NAS.

Synology_OneDrive_02

Please do note that this application is developed by Synology Inc itself and the file type for this package is (.spk). Yes, I do have the interests to see how this package is actually calling OneDrive. Is it the same as the way how OneDrive Client is doing? (Well, I am not sure how can I reversed engineer this just yet.)

Synology_OneDrive_03

After installation, this appear in the overlay of the Synology Dashboard. Nice looking icon there!

Synology_OneDrive_04

Synology_OneDrive_05

Now, the real action starts! Selected OneDrive and another pop-up appear to perform the authentication between OneDrive and Synology NAS.

Synology_OneDrive_06

The usual terms and condition that you will need to agree before proceeding, the kind that is similar to using 3rd-Party Developer Twitter Client to connect to your Twitter account via the API. Well, you have no choice but to agree since you are eager to use the APIs!

Synology_OneDrive_08

Select the place you would like to place the data (files and folders) that is synchronized between OneDrive and Synology.

Synology_OneDrive_09

You can even selective synchronization where you only synchronized certain folders from OneDrive.

Synology_OneDrive_10

Synology_OneDrive_11

After configuration, we can see the console actually starts searching the files and folders to be synchronized and process the synchronization. There is even an icon that is located at the task bar which shows the status of the OneDrive.

I am really happy that Synology is making effort to make sure that the consumer experience is being upgraded at their each major or minor release of the firmware.

Thumbs up to Synology Team!

Cheers.

Regards,
Milton Goh

Is there something missing in #OneDrive ?

Just when I subscribed to the Office 365 Personal in order to get that 1 Terabyte (TB) of space so that I can start archiving some of the files that I do not required sitting in my home NAS that are filling almost up quickly since the total usable space is 1.5TB. (I know it sounds like it is time to upgrade but looking at schedule where I intend to do a home renovation, I think I will leave those new gadgets coming in after the renovation.)

The latest statistics of the amount of space that I have packed into my account is:

image

So during the course of the first few days into actively pushing some of the media files to OneDrive, I found out something that I feel missing out. So I started of using Google Chrome for all my surfing experience (yes, I do love Internet Explorer too) and started uploading files via the OneDrive web portal.

Google Chrome

The browser that offers two upload options as shown:

  1. Files
  2. Folder

OneDrive_Chrome_Upload_Options

Notice, it reads as “Files” and “Folder” where it is missing something!

Number 1 – *MISSING WHAT?*: Why can’t I have an option to upload multiple folders?

Then I went ahead to upload by single Folder at a time since each folder contains multiple huge files, it does not matter to me actually. So after uploading the 9th or 10th huge folder, I start to ponder upon something that is missing.

OneDrive_Chrome_Upload_5of22

OneDrive_Chrome_Upload_22of22

Do you all notice the difference? It caught my attention why when it was uploading 5th file out of the 22 files that I have, the amount it has progress in the blue bar is showing perhaps 5-8% of the total length. However, when it is already in the process of uploading the last file, it only show almost 25% taken up! So, what’s the big deal about the remaining 75%?

Number 2 – *MISSING WHAT?*: What happened to my progress bar?

OK, that’s all for Google Chrome. Next on the list… Internet Explorer!

 

Internet Explorer

So I wasn’t quite convinced with how Google Chrome works, so I went ahead and try out using Internet Explorer (IE) as always Microsoft line of products should all work almost seamlessly together.

Number 1 – *MISSING WHAT?*: Why can’t I upload by Folder??????

image

Notice that for the “Upload” portion, there isn’t any option for me to choose between a Single File or Multiple Files or Single Folder. It is just, go ahead and select something out of a single folder.

So by using Internet Explorer, users will have to first create the appropriate folder then upload the files into it as shown.

OneDrive_IE_Upload_20_Items

One thing for sure that is working is the progress bar… *Yayyy*

OneDrive_IE_Upload_20_Items_01

OneDrive_IE_Upload_20_Items_02

 

I don’t know who to reach out to but I hope that Microsoft will consider to allow uploading of multiple folders via the OneDrive web portal one day.

Do you have similar experience as me? If yes, why not share it with me by commenting below.

Cheers!

Regards,
Milton Goh

PowerShell Saturday #009 (Singapore) – Azure + PowerShell

In today PowerShell Saturday #009 in Singapore, I shared the following article about Microsoft Azure and PowerShell. In this presentation, I shared about how one should actually adopt PowerShell to help ease the amount of work that is needed to be spent on managing Microsoft Azure.

 

Thank you.

Regards,
Milton Goh

Five Reasons to using CloudShare and why it is worth it.

This posts is not going to serve as a marketing story that sells you how much compelling features is being built in and provided by CloudShare but rather I am going to share on my perspective why I chose CloudShare for my day-to-day and I urge you all will see the same value as me. As a Consultant and Developer by profession, I would have to depend highly on my lab so that I could solve my own problems that I have encountered and also problems that my clients met into for their infrastructure that is being deployed and maintained by my organization. On top of that, my recent application to be a MCT (Microsoft Certified Trainer) has been approved and therefore I have joined the league of professional trainers and hope to learn as much as I could. In my opinion, being a MCT delivery a class is not just based on the Microsoft Official Curriculum provided but it should also add in some real-world experience that I have earned when I am doing consultancy to the students. Therefore, being quick and decisive is an important element in the IT world because technology changes so fast that we could pick up the skills.

Therefore, these are five reasons why I would recommend all of you to try out CloudShare.

1. No hardware investment

Microsoft Technologies and the latest line of products have adversely increased the requirements of the hardware needed in order to run the environment smoothly. For example, when I am doing my SharePoint 2010 demo box, I used to only allocate around 4GB-6GB of RAM to the single virtual machine box. As of the launch of SharePoint 2013, I see the need to work with around 8GB to 16GB for the virtual machine. That jump would definitely require me to upgrade my workstation or my lab environment in order to accommodate to the new requirements. I used to lug around my Lenovo ThinkPad T420 with 16GB RAM but since I needed to run SharePoint 2013, I will be looking at either a slower and sluggish performance virtual machine on the same piece of hardware or I am forced to look at higher end model of the ThinkPad W Series which enable me to maximize up to 32GB of RAM. Remember, this is just part one of my hardware investment because for my lab environment at home/work, I will run SharePoint instances along with other Microsoft products for testing purposes. Although the lab servers in the office would usually contain higher class hardware that span across around 96GB RAM, but from time-to-time when the requirement of newer software increased, it means that the number of virtual machines we can run on the same lab server will decrease and therefore needing some upgrade.

For my home, I do not have the luxury to run huge servers because electricity is expensive here. Moreover, switching on the home lab server 24 x 7 would not only consume lots of electricity but it just meant that I would need to bear with the noise of the server fans. Another problem with running lab server within the organization/home lab is Connectivity. A secure environment like mine will force me to only connect to the lab environment via secure VPN connection. For my latest lab environment, it is powered with 2 x Intel NUC (~ USD500 each with 64GB mSATA + 16GB RAM) with a Synology NAS (~ USD1400 with 4 x 4TB hard disk). This would make up to a total of approximately USD3000 for a start include other miscellaneous items.

However, if you use CloudShare, the monthly commitment is USD59 (lowest available plan), it will provide you with 50 months (more than 4 years!) of utilization in order to rack up to the upfront investment for the basic hardware needed. I doubt the Intel NUC could last me 4 years especially when new software requirements are increasing!

2. Usability

All the while I have been trying to compare the various solutions that provide me with an easy way to connect to my lab environment in order to get some work done without the need to lug around with a heavy workstation. I now owe a Surface Pro 2 due to the software that I required to run to meet my basic needs. I wouldn’t be able to survive with a Surface 2 / RT because I could not install the proprietary VPN software that is required in order to connect back to my company VPN server.

One of the feature that allow me to leave my heavy laptop at home is the availability to connect to my CloudShare instances via any browser. With this feature, I could easily live with a lightweight laptop or table such as Surface RT/2 or even an Apple iPad.

3. Huge amount of time saved

Prior to using CloudShare, I used to build countless numbers of virtual machine in order to perform some of the testing needed at work or for my own learning. My latest project or mini project is to explore Team Foundation Server 2013. So I went ahead to time how much time and effort is needed in order to setup my own copy of Team Foundation Server so that I could meddle with the functionalities. So here is the estimated breakdown of the time spent:

· Building the base OS on a single virtual machine + Windows Patching: 1.5 hours

· Cloning the base OS to multiple virtual machine (Active Directory, SQL, Team Foundation Server, Build Agent Server) and perform sysprep: 1 hour

· Setup the domain controller and populating the various service accounts needed: 20 minutes

· Setup SQL Server for Team Foundation Server: 30 minutes

· Setup Team Foundation Server and configuration: 45 minutes

· Setup Build Server: 20 minutes

In total, I spent around 4.5 hours to complete the whole exercise! This does not include… What if I configured certain component wrongly and required re-configuration? With CloudShare, I could spin up an instance with Team Foundation Server 2013 along with Visual Studio 2013 installed in less than 5 minutes! Below are some examples of what is included in the 5 minutes setting up process…

clip_image002

Team Foundation Server 2013 Image

clip_image004

SharePoint 2013 Image

4. No longer required for trial software / subscription (Goodbye to TechNet)

One move by Microsoft to kill the TechNet subscription is to enable more users to move to the Cloud, however, for work purposes, I will definitely need to setup my own lab environment so that I could easily demo to my prospective clients the awesome features that is packed in the product. Without the TechNet subscription, I wouldn’t be getting the MSDN subscription for my home development use because the amount spent doesn’t justify the cost spent. Getting trial software would means that I would need to rebuild my lab environment every 180 days.

With CloudShare, you wouldn’t even need to bother about the licensing, you just spin up the instance as and when you like and delete it from your account when you are done with it. Forget about finding the product key to the software and having trouble activating virtual machine for your testing purposes.

5. No complex solutions needed

Sometimes I wonder whether I could mimic the solutions by CloudShare and create a Self-Service Portal as user-friendly as CloudShare so that my developers could easily launch an instance for their testing purposes as and when needed. However, after a serious consideration of the amount of hardware investment needed in order to ensure that every developers will get a fair share for them to deliver their project on-time, it really made me hard to present the idea to the management. On top of that, there will be on-going maintenance needed to ensure that the condition of the hardware are good for use. Below is some of the pointers that are part of my solution conceptualization.

· To deploy System Center Virtual Machine Manager to manage all the Hyper-V hosts and to deploy Virtual Machine.

· Time is needed to create the various Virtual Machine Templates.

· Time is needed to update the various Virtual Machine Templates.

· Need to engage the various specialist within the organization to borrow their time so that be part of the architecting team.

Hope you are able to see the value that I see in CloudShare. Interested? Head over now to get your trial account. Sign up for Trial

P/S: I am not affiliated with CloudShare in any ways.

Cheers!
Milton Goh

[PowerShell Efficiency]–Check the list of installed programs

As part of my lab environment where I am using VMWare ESXi Hypervisor, I am required to install VMWare Tools similar to the Integration Services that is found in Hyper-V. However, due to the challenge that I have threw to myself that I am going to use “Server Core” for most of the servers unless there are software that required the GUI.

So since I can’t do what I use to do by finding out what I have installed and in current situation, I don’t even know whether VMWare Tools are installed already since I am deploying multiple virtual machines at one go.

In the GUI way, I could simply do the following,-

  1. Go to Control Panel
  2. Click on Programs and Features
  3. Tada, the list shown!

However, if we were to do it the PowerShell way…

Get-WmiObject -class Win32_Product

18-12-2013 3-36-46 PM

What if… I am being greedy? What if I have a long list of programs that are installed? Wouldn’t I be scrolling till I go mad?

Then let’s do some filtering…

Get-WmiObject -class Win32_Product | where {$_Name -like "*VMWare*"}

The first segment of the one-liner is the same as before, just that I have added a “where-clause” to do filtering of the intended value that I hope to find.

18-12-2013 3-43-49 PM

So, is this much more convenient and faster? Can you do filtering in your add/remove programs? Smile Of course you can do filtering by doing “Search”, but time it yourself to see how long it takes!

Cheers,
Milton Goh

What is an ideal prefix / tag?

I had a thought of a series of blog post that ideally describe how PowerShell have efficiency helped myself or my team in getting work done. It may be simple PowerShell script or even down to one-liner rather than doing it via the GUI way of clicking and clicking.

What will be the best tag or prefix should I fixed it for these series?

This is probably going to keep me thinking too, although may not more important than the content of the post. Smile with tongue out

Cheers.
Milton Goh

[Efficiency with PowerShell]–“Get-Disk”, “Get-Volume” for checking available disk and volume

Realize the power of “PowerShell” today! Do the following…

The GUI Way…

  1. Go to Control Panel
  2. Administrative Tools
  3. Computer Management
  4. Expand “Storage”
  5. Click on “Disk Management”
  6. See your available disk
  7. Right click on the Disk –> Properties

Tada! You will get to see what you will see with this one-liner below.

The PowerShell Way…

Get-Disk

Get-Volume

Results (Based on my computer)

16-12-2013 3-50-26 PM

16-12-2013 3-53-23 PM

Cheers! Smile