PowerShell

Powershell Trick : Make an email ID using user Environment Variables and powershell

Hi, Last Friday i was working on one script, that script send an email to a “Service Desk” system. But that script required an email id of the sending user. So that if someone replied to that email from service desk software it should goes to users email id. This is global script and we… Continue reading Powershell Trick : Make an email ID using user Environment Variables and powershell

PowerShell · Vmware

Powershell & VMware: “Stopping” running Virtual Machines on VMware server using PowerCLI.

  Hi, The one of the main task as a administrator we do is shutting down and powering on the machines 🙂 . Let see how we can stop/shutdown virtual machines using PowerCLI. Let’s Start. Connected to your VMware VSphere Server first using PowerCLI. ( http://newdelhipowershellusergroup.blogspot.in/2012/07/powershell-vmware-getting-started-with.html ) use Get-VM cmdlet to list all Virtual Machine… Continue reading Powershell & VMware: “Stopping” running Virtual Machines on VMware server using PowerCLI.

PowerShell

Reset “Internet Explorer” Settings to default using PowerShell script.

  Hi, Few days back we deployed an internal software, that software is Web based application, and users just need to open it on their browsers and start working on them. Few of the users facing some problem and when we talked to our software development team they told us that they all need to… Continue reading Reset “Internet Explorer” Settings to default using PowerShell script.

PowerShell · Vmware

Powershell and VMware: “Get the list of all Virtual machines on VMware VSphere Server using PowerCLI.

  HI, In my first post about “Getting Started with VMware Vshpere PowerCLI” i already showed how to connect with VMware server. Our today’s task is simple. you get the list of all Virtual machines, and then we search for all “Powered ON” machines and after that all “Power off” machines. Nothing complicated here. this… Continue reading Powershell and VMware: “Get the list of all Virtual machines on VMware VSphere Server using PowerCLI.

PowerShell

Test Connectivity of Multiple Server and then do “Trace Route” on failed servers using powershell script.

Hi, Yesterday one of our “New Delhi PowerShell User Group” member was trying to do the following. Ping a list of Internet and External Server, and then do the “Trace Route” on the failed ones.  He was facing a problem using “foreach” cmdlets. to help him i tried to write a script for him and… Continue reading Test Connectivity of Multiple Server and then do “Trace Route” on failed servers using powershell script.