You are browsing the archive for Powershell.

Retrieving more details on a failed job (ID: 23755)

6:16 pm in Uncategorized by Kurt Roggen

During VM creation, you might get into a situation where your deployment is blocked due to incorrect or invalid settings in the VM template, VM Host or cloud.
VMM might refer to the cause by using a reference Task ID GUID.

image

But how do you retrieve more information using the GUID?
Obviously, PowerShell…

$JobInfo = get-SCjob –ID <GUID>

image

That actually brings back an VirtualMachineManager.Task object with a property AdditionalMessages.

Looking at the AdditionalMessages will reveal all problems that cause the deployment to be blocked.

$JobInfo.AdditionalMessages

image

System Center Virtual Machine Manager 2008 Cmdlet Reference

12:30 am in Uncategorized by chanelwlkTB

Normal
0

21

false
false
false

NL-BE
X-NONE
X-NONE


Nice,

Microsoft just released vmm 2008 cmdlet reference…..and it’s about 442 pages long! [:)]

Have fun!

 

Abstract:

System Center Virtual Machine Manager
(VMM) 2008 is a server application that you can use to manage virtual
machines on a variety of virtualization platforms. As an alternative to using
the VMM Administrator Console to administer your Virtual Machine Manager
environment, you can use the cmdlets in the Windows PowerShell – Virtual
Machine Manager command shell, which is an administrator-focused command-line
shell. This document provides the Help topics for the VMM 2008 cmdlets.

[View:/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.09.85/Virtual-Machine-Manager-2008-Cmdlet-Reference.docx]

 

Grtz,

Alexandre Verkinderen