Keys Dates In the history of Cloud Computing

July 2002 – >  Amazon launched Amazon web services

March 2006  -> Amazon launched concept of s3 (Simple Strorage service )

August 2006 -> Amazon launched concept of EC2 (Elastic Compute Cloud  )

April 2008 -> Google launched Google App Engine

November 2009  ->  Microsoft launched Azure Beta

 

Advertisements

How to change powershell Prompt

Generally, When we open PowerShell prompt we see its open in user main directory or in my case its open as “PS Z:\>” but i want to change to specific user define like “nitposh >”.

We can easily achieve that using one simple function.Let take an example:-

function prompt {“poshnit >”}

function

2 More Weeks Extended for Windows 10 Free Upgrade

We all knows that the free windows 10 upgrade launched on July 29, 2015, provides a full version Windows 10 upgrade for PC and devices running a qualifying, genuine, activated Windows 7 or Windows 8 license. The free upgrade was scheduled to last for one year. Microsoft has extended the upgrade time to 2 more weeks.

Below are the link which help us to upgrade to windows 10

https://www.microsoft.com/en-us/software-download/windows10/

Guideline For AWS (Amazon Web services)

We all knows that  AWS is cloud based computing and its gives us many web services.Now question comes in mind of  system administrator, how to lean the concept and how many types of certification are available for AWS.

Course are divided into 2 level which have all together 5 certification course, which AWS proving right now.

Continue reading

32 bit OS laptop suck it up Story

 

Its very hard to have 32 bit based OS and unable to switch it to 64 bit as your Laptop is not  upgrade the OS as your laptop chipset don’t support it. Now question raise let have new laptop and again problem raise that don’t have enough amount to purchase new one already have a lot pending dues for past family problems.Now learning is stop not able to explore new technology and current company don’t have practice labs,what to do.last few  months I was just reading new things not able to implemented and check by own.Then i meet a my old buddy (MVP)  asking why you stop blogging and not updating anything my answer finance problem.he suggested to go with AWS Amazon  technologies where we can able to create a account by 2 Rs just for verification and they will return that after 1 week. My ear stand up and reached home and create a account in AWS Amazon and come to know that services provider is giving free tier

The Amazon Web Services (AWS) Free Tier is designed to enable you to get hands-on experience with AWS Cloud Services. The AWS Free Tier includes services with a free tier available for 12 months following your AWS sign-up(Go sign-up) date, as well as additional service offers that do not automatically expire at the end of your 12 month AWS Free Tier term.

After creating your AWS account you can use any of the products and services, listed below, for free within certain usage limits.Below are list to get more details

https://aws.amazon.com/free/

My Problem solved now am well return back to my old days.

 

 

Again free Microsoft eBooks

FREE! That’s Right, I’m Giving Away MILLIONS of FREE Microsoft eBooks again! Including: Windows 10, Office 365, Office 2016, Power BI, Azure, Windows 8.1, Office 2013, SharePoint 2016, SharePoint 2013, Dynamics CRM, PowerShell, Exchange Server, System Center, Cloud, SQL Server and more!

3 Important Command in PowerShell -Part 2

As we discuss in last post about the important  cmdlets in PowerShell which we can say life saver for beginners.

Let start where we left.(if we want to read old article)

let discuss about the Get-help cmdlet parameters.how that really help us to solve our daily routing problem.

In Powershell we take Get-help same as Man command in Unix it will tell us about the information about the command which help we need to know.

In generally when we use the new cmdlet or command we want to know few things

  • Syntax
  • how to pass parameters in it
  • example

In order to solve this problem we can use Get-help with some parameters which will help to know syntax of cmdlet and with example.Let take example now.

Suppose we want to use Get-process and we want to take help of Get-help cmdlet .we have some parameters which we can pass -Detail – Example – Full

If we want to know how different ways we want to use the Get-Process we can go for below command .

:-> Get-help  Get-command  -Example

gethelp5

you can able to see that able example give you example with well explanation.

when we hit this command we feel that output come once and you have to scold you once gain to read it from example 1.In order to resolved that issue you can use the command with more  in that way you can restrict that output to its windows console only to read further you need to hit enter.

Get-help  Get-command  -Example | more

Next post we will know more about Get-help with parameters

 

 

 

3 Important Command in Powershell

We know about PowerShell then we must know about 3 cmdlet which will always help us to lean and solve the problem for us about to do things in Powershell Scripting. PowerShell its self is self explanatory scripting language by its very strong Help system.

According to me these are 3 three command as follows :

  1. Get-help
  2. Get-command
  3. Get-member

Today, we will discuss about the cmdlet get-help.This is one of important cmdlet  which help us to write the script and search command and give us the way to use it in different ways and with example.

how can we use Get-help cmdlet .

Syntax : Get-help <cmdlet> -detail/full/example

here <command> means we need to know help of  cmdlet of Powershell goes there and with 3 important parameter detail , full , example . we can use the Get-help cmdlet with wildcard which make it more strong cmdlet of Powershell in any version.

So let Start it

1)If we don’t know about the command which we want to use white-card play a import role here.suppose we know we have to use some service base comlet.

Get-help  *service*

Here whitecard help us give query that get the cmdlet which contain service name

gethealp

Suppose if we use Get-help *service then that means we need cmdlet which is ended by service.if you notice above and below screenshot you notice that New-WebserviceProxy is not display in below because our query is display the cmdlet where service is at the end and here service is in between.

gethelp2

Some more example on  when * (whitecard)

Get-help *ser* -> get the cmdlet which have “ser” in between

gethelp3

Get-help  Get* -> get the cmdlet which started with “Get”

 

Next post we will know more about Get-help with parameters

 

 

 

 

Use Get-CimInstance with DCOM

Use Get-CimInstance with DCOM

PowerShell 3.0 added an alternative to Get-WmiObject: Get-CimInstance seems to work very similar and can retrieve information from the internal WMI service:

PS C:\> Get-WmiObject -Class Win32_BIOS

SMBIOSBIOSVersion : A03
Manufacturer      : Dell Inc.
Name              : A03
SerialNumber      : 5TQLM32
Version           : DELL   – 1072009

PS C:\> Get-CimInstance -Class Win32_BIOS

SMBIOSBIOSVersion : A03
Manufacturer      : Dell Inc.
Name              : A03
SerialNumber      : 5TQLM32
Version           : DELL   – 1072009

While Get-WmiObject still works, Get-CimInstance is definitely the way to go. This cmdlet supports IntelliSense completion for WMI classes (in PowerShell ISE), and the returned data has a more readable format: dates for example appear as human readible dates whereas Get-WmiObject displays the internal raw WMI date format.

The most important difference, though, is how they work across remote connections. Get-WmiObject always uses the old DCOM protocol whereas Get-CimInstance defaults to the new WSMan protocol, yet is flexible and can still fall back to DCOM when needed.

Here is a sample function that retrieves BIOS information remotely via Get-CimInstance. The function defaults to DCOM, and with the -Protocol parameter you can choose the protocol you’d like to use:

#requires -Version 3
function Get-BIOS
{
param
(
$ComputerName = $env:COMPUTERNAME,
[Microsoft.Management.Infrastructure.CimCmdlets.ProtocolType]
$Protocol = ‘DCOM’
)
$option = New-CimSessionOption -Protocol $protocol
$session = New-CimSession -ComputerName $ComputerName -SessionOption$option
Get-CimInstance -CimSession $session -ClassName Win32_BIOS
}