PowerCli Script to get ESXi VIB Details

###Script to get VIB Details ###
###Version 1.0 ###
###Output: Out will be avaibale on VIBS.csv ###
erroractionpreference = “SilentlyContinue”
Warningactionpreference = “SilentlyContinue”
Get-Module -ListAvailable VMWare* | Import-Module
$Results = @()
$Cred = Get-Credential
$vc = Read-Host “Enter the vCenter Server name”
$ClusterName = Read-Host “Enter the Cluster name”
Connect-VIServer $vc -Credential $Cred
Write-Host “Searching VIB details…” -BackgroundColor Black -ForegroundColor White
$ESXs = Get-Cluster $ClusterName | Get-VMHost
foreach($ESX in $ESXs)
{
$ESXCLI = Get-vmhost $ESX | Get-ESXcli
$VIB = $ESXCLI.software.vib.list() | Where {$_.Name -match “powerpath.cim.esx”}
$Result = new-object system.object
$Result | Add-Member -MemberType NoteProperty -Name “Host Name” -Value $ESX.name
$Result | Add-Member -MemberType NoteProperty -Name “VIB Name” -Value $VIB.name
$Result | Add-Member -MemberType NoteProperty -Name “VIB Version” -Value $VIB.version
$Results += $Result
$results | export-csv VMHost_Inv-$((Get-Date).ToString(‘MM-dd-yyyy-hh-mm’)).csv -NoTypeInformation
}

PowerCli script to Migrating Roles & Privileges from an one vCenter to another vCenter

#PowerCli script to Migrating Roles & Privileges from an one vCenter to another vCenter#
# vCenter Names
$VC1=”VCENTER1″
$VC2=”VCENTER2″

# Set the PowerCLI Configuration to connect to multiple vCenters
Set-PowerCLIConfiguration -DefaultVIServerMode multiple -Confirm:$false

# Connect to both the source and destination vCenters
connect-viserver -server $VC1, $VC2

# Get roles to transfer
$roles = get-virole -server $VC1

# Get role Privileges
foreach ($role in $roles) {
[string[]]$privsforRoleAfromVC1=Get-VIPrivilege -Role (Get-VIRole -Name $role -server $VC1) |%{$_.id}

# Create new role in VC2
New-VIRole -name $role -Server $VC2

# Add Privileges to new role.
Set-VIRole -role (get-virole -Name $role -Server $VC2) -AddPrivilege (get-viprivilege -id $privsforRoleAfromVC1 -server $VC2)
}

disconnect-viserver –server $VC1, $VC2

 

Source: BLiebowitz

Types of Clouds

There are three cloud models that you can subscribe according to business needs:

Private Cloud: Here, computing resources are deployed for one particular organization.  This method is more used for internal business interactions.  Where the computing resources can be governed, owned and operated by the same organization.

Public Cloud: This type of cloud is used usually for Business to Consumer type interactions.  Here the computing resource is owned and governed by service provider and operated by government or an academic or business organization or it may an individuals .

Hybrid Cloud: This type of cloud can be used for both type of interactions –  B2B (Business to Business) or B2C ( Business to Consumer). This deployment method is called hybrid cloud as the computing resources are bound together by both clouds models.

List of Websites for Technical Training….!!!

Do you really want to professionally grow and develop yourself and looking to enhance your skills and expertise ?

Find below the list of website having numbers of courses and resources you can access.

  1. www.edx.org
  2. www.udemy.com
  3. www.coursera.org
  4. www.udacity.com
  5. www.edureka.co
  6. www.simplilearn.com
  7. www.pluralsight.com
  8. www.intellipaat.com
  9. www.dezyre.com
  10. www.openhpi.de
  11. www.khanacademy.org
  12. www.oli.cmu.edu
  13. www.ck12.org
  14. www.skillshare.com
  15. www.codecademy.com
  16. www.p2pu.org
  17. www.saylor.org
  18. www.nalandau.com
  19. www.academicearth.org
  20. www.coursetalk.org
  21. www.alison.com

Happy Learning…..!!!

Benefits of Cloud Computing

The potential for cost saving is the major reason of cloud services adoption by many organizations.  Cloud computing gives the freedom to use services as per the requirement and pay only for what you use. Due to cloud computing it has become possible to run IT operations as a outsourced unit without much in-house resources.

Following are the benefits of cloud computing:

Lower IT infrastructure and computer costs for users

Improved performance

Fewer Maintenance issues

Instant software updates

Improved compatibility between Operating systems

Backup and recovery

Performance and Scalability

Increased storage capacity

Increase data safety

Why Cloud Computing?

With increase in computer and Mobile user’s, data storage has become a priority in all fields. Large and small-scale businesses today thrive on their data & they spent a huge amount of money to maintain this data. It requires a strong IT support and a storage hub. Not all businesses can afford high cost of in-house IT infrastructure and back up support services. For them Cloud Computing is a cheaper solution. Perhaps its efficiency in storing data, computation and less maintenance cost has succeeded to attract even bigger businesses as well.

Cloud computing decreases the hardware and software demand from the user’s side. The only thing that user must be able to run is the cloud computing systems interface software, which can be as simple as Web browser, and the Cloud network takes care of the rest. We all have experienced cloud computing at some instant of time, some of the popular cloud services we have used or we are still using are mail services like gmail, hotmail or yahoo etc.

While accessing e-mail service our data is stored on cloud server and not on our computer. The technology and infrastructure behind the cloud is invisible. It is less important whether cloud services are based on HTTP, XML, Ruby, PHP or other specific technologies as far as it is user friendly and functional. An individual user can connect to cloud system from his/her own devices like desktop, laptop or mobile.

Cloud computing harnesses small business effectively having limited resources, it gives small businesses access to the technologies that previously were out of their reach.  Cloud computing helps small businesses to convert their maintenance cost into profit. Let’s see how?

In an in-house IT server, you have to pay a lot of attention and ensure that there are no flaws into the system so that it runs smoothly. And in case of any technical glitch you are completely responsible; it will seek a lot of attention, time and money for repair. Whereas, in cloud computing, the service provider takes the complete responsibility of the complication and the technical faults.