You are now being logged in using your Facebook credentials

Directory Stats

There are 19069 listings and 299 categories in our website

Search in Title & Description

Website Stats

Listings Hits count
5062982

Over 500'000 hits on listings per month

Learn more

Today914
Yesterday2311

SchedulerRSS

vCenter

Schedule task with PowerCLI script

For a past few hours I fought with task scheduler on Windows 2008 R2 and Vmware PowerCLI script to make it run as a service. I decided to write down quick guide to help out others and to document for myself.

Created
Remove vCenter Scheduled Tasks with PowerCLI (Part 3) (Enterprise Admins)

In my most recent series on vCenter Scheduled Tasks with PowerCLI, I have provided three functions…Get-VIScheduledTasks, Get-VMScheduledSnapshots, and New-VMScheduledSnapshot. To complete the series, I have a final function Remove-VIScheduledTask. I don’t ...
Read More...

Created
New vCenter Scheduled Tasks with PowerCLI (Part 2)

In a recent post New vCenter Scheduled Tasks with PowerCLI (Part 1), I provided two functions that return information related to vCenter Scheduled Tasks. This was my first step towards creating a PowerShell function that I could run to create scheduled sn ...
Read More...

Created
Get vCenter Scheduled Tasks with PowerCLI (Part 1) (Enterprise Admins)

I work with a lot of scheduled tasks. Typically, these tasks run powershell scripts from the Windows Task Scheduler. However, when working with simple VMware tasks (like creating snapshots right before a maintenance window) I like to use the Scheduled Tas ...
Read More...

Created
Get VMware vCenter Scheduled Tasks with PowerCLI

VMware vSphere PowerCLI is missing cmdlets to work with VMware vCenter Scheduled Tasks. In a series of blog posts I will show you some PowerShell advanced functions that you can use to work with vCenter Scheduled Tasks. The first function is Get-VCSchedul ...
Read More...

Created
Schedule tasks to enable/Disable DPM

You can also create scheduled tasks to enable and disable DPM for a cluster using the Schedule Task: Change Cluster Power Settings wizard. Remember you must create two tasks. One to enable DPM and second to disable DPM.

Created
Script to Schedule Memory and or vCPU up/downgrade

After creating the Restart-VMs.ps1 script, I also created a script to schedule vHardware changes. With this script, youre able to upgrade or downgrade the amount of memory and or the amount of vCPUs of a VM. Just lik the restart script, you can schedule t ...
Read More...

Created
Schedule a restart job for one or multiple VM’s

I created the following script to schedule some restart jobs overnight. The goal for this script was to add some parameters so you dont have to edit the script file itself to schedule it for another VM or a group of VMs.

Created
Running a PowerCLI Scheduled task

There are a fair few PowerCLI scripts which can be run as scheduled tasks, some that email you or maybe a monitoring script but recently I have been asked how this can be done, what do you put in the Run line for the script to work properly.

Created
Creating a Scheduled Tasks to Change VM Resource Settings

Lets say there is a VM, or a Resource Pool with several VMs, that most of the time just sits idle. Every Sunday an application runs on this VM (or on VMs in the Resource Pool) to do some data analysis and generates reports, the process usually takes 2-4 h ...
Read More...

Created
Set Up DPM and Use vCenter Scheduled Task to Turn DPM Off and On

VMware Power Management or Distributed Power Management (DPM) powers down hosts when resources are not needed and powers the host on as the demand for resources increases. This feature has the potential to provide significant savings in power and cooling ...
Read More...

Created