The official website of Bipul Raman

How to send bulk email using PowerShell Script


Several times we need to email to numerous people and email content varies from person to person. PowerShell script can be an easier solution for you. Below is the sample PowerShell Script to send bulk emails. It is fetching data from CSV file (represented in above screenshot). This script will send individual email to every single person listed in CSV. A basic knowledge on PowerShell required to modify the code as per your requirement.

You can find this code at my GitHub Repository also.

Starting Development on Windows 10 IOT Core on Raspberry Pie


Windows 10 IoT Core brings the power of Windows to your device and makes it easy to integrate richer experiences with your devices such as natural user interfaces, searching, online storage and cloud based services. You can install Windows 10 IOT core on several development boards including the popular one - "Raspberry Pie". In this blog i will briefly mention step by step along with links containing detailed instructions with screenshots to start development on these IOT devices.

You can follow these steps to start development on Windows IOT on Raspberry Pie 2:
  1. Hardware prerequisites:
    • Raspberry Pie 2
    • Adapter to power Raspberry Pie
    • LAN Cable
    • SD Card ( 8 - 16 GB would be better)
    • FEZ HAT ( Another hardware containing sensors etc. which is connected on top of Raspberry Pie). FEZ HAT is preferred for beginners as it contains various basic sensors including temperature sensor.
  2. Setting up PC for development:
    https://ms-iot.github.io/content/en-US/GetStarted.htm
  3. Flashing / Installing Windows 10 IOT core on Raspberry Pie 2
    https://ms-iot.github.io/content/en-US/win10/RPI.htm
  4. Start development on Visual Studio and Observe outputs. You have choice to use several programming languages including C# and JavaScript
  5. [ Optional ] - Several features of Microsoft Azure Cloud like Azure service bus and Azure Stream Analytics can be integrated with Raspberry Pie to develop IOT Apps
  6. Code Samples to work on Raspberry Pie2 with Azure on Windows 10 IO
    https://github.com/Azure/connectthedots/tree/IoT-Field-Labs/Devices/DirectlyConnectedDevices/WindowsIoTCorePi2FezHat
The above given code samples works fine as i have executed all these as a part of lab session at Microsoft IOT DevCamp.
 

Google AppEngine - how to host your web application on google's cloud for free

Google App Engine is a platform as a service (PaaS) cloud computing platform for developing and hosting web applications in Google-managed data centers. Applications are sandboxed and run across multiple servers.

There are a lot of cloud services available on Google AppEngine. But here, I will concentrate more into free features/services offered on Google AppEngine. Application Hosting (Without Databases) are free on Google AppEngine. For that you just need a google account. Setting up billings are not mandatory for that.

Here step-by step I will discuss how to create and deploy a sample application on Google AppEngine. These server side script are allowed on Google AppEngine – Python, PHP, Go, Java

Prerequisites:

  1. A Google Account
  2. Google AppEngine SDK need to be installed. For download and further set-up details, refer this URL: https://cloud.google.com/appengine/downloads
  3. IDE for Application Development

Creating an instance of Application project on cloud

  1. Login to Google AppEngine on this URL: https://console.developers.google.com
  2. Click on Select a project >> Create a project
  3. Provide a valid name to your App, and Create.

Creating an Application on local machine

  1. Open Google AppEngine Launcher
  2. Go to File >> Add new application
  3. Select and fill applicable fields.
  4. Click on Create
  5. Open the created project with an IDE and code your application.

Deploying Application to cloud

  1. Re-Configure your app.yaml file if any additional components added to your project.
    Ref: https://cloud.google.com/appengine/docs/python/config/appconfig
  2. Make sure that Application name provided in app.yaml (in lower case) is exactly the same which you have created on cloud
  3. Save the project
  4. Add your project in Googe AppEngine Launcher if it not added/listed there
  5. Select your project
  6. Click on Deploy button
  7. Provide authentication details of google account if prompted

Browsing your Application

  1. Application will be available on application-name.appspot.com  ex- brappengine.appspot.com 
  2. Here is a live responsive app hosted on Google AppEngine: https://brstatic.appspot.com