Get-Quote using Powershell


INTRODUCTION

Hey Everyone, hope you guys are good!

Today’s blog post is to data harvest / Web scrape Quotations from the internet in your Powershell host.

But, why the hell I’d need Quotes in PowerShell console?

C’mon! because I’m a “Reading Quotes every morning” type of the guy 🙂 and I know many of you too like reading them. I daily spent some time reading quotes and I feel motivated, so thought it won’t be a bad idea to get Quotes directly in your PowerShell console

1

2

SCRIPT :

HOW TO RUN :

Run the function like I did in the animation below and it pulls Quotes from the internet depending on the parameter you choose and value you provide.

Get-Quote

You could also, put this function in your $Profile , randomized with Keywords like Motivation, Success, Genius, Love and get Quotes every time you launch an instance of  Powershell host.

profile

Have fun, stay motivated and keep your game going 🙂 Signing off.

signature

Advertisements

One thought on “Get-Quote using Powershell

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s