Flappy Shoot

Wednesday, February 3, 2010

Sample script generated by SCVMM 2008 while creating a new VM

# ------------------------------------------------------------------------------
# New Virtual Machine Script
# ------------------------------------------------------------------------------
# Script generated on Thursday, February 04, 2010 6:39:13 AM by Virtual Machine Manager
#
# For additional help on cmdlet usage, type get-help
# ------------------------------------------------------------------------------


New-VirtualNetworkAdapter -VMMServer localhost -JobGroup 0ae875e5-99a6-4ae8-9cb5-c3375328954c -PhysicalAddressType Dynamic -VirtualNetwork "FP7 Network" -VLanEnabled $false


New-VirtualDVDDrive -VMMServer localhost -JobGroup 0ae875e5-99a6-4ae8-9cb5-c3375328954c -Bus 1 -LUN 0

$CPUType = Get-CPUType -VMMServer localhost where {$_.Name -eq "2.40 GHz Xeon"}


New-HardwareProfile -VMMServer localhost -Owner "MCNMENA\tariq.admin" -CPUType $CPUType -Name "Profilea0eef8f3-59c2-4990-994d-c524ac2f02fe" -Description "Profile used to create a VM/Template" -CPUCount 2 -MemoryMB 1500 -RelativeWeight 100 -HighlyAvailable $false -NumLock $false -BootOrder "CD", "IdeHardDrive", "PxeBoot", "Floppy" -LimitCPUFunctionality $false -JobGroup 0ae875e5-99a6-4ae8-9cb5-c3375328954c



New-VirtualDiskDrive -VMMServer localhost -IDE -Bus 0 -LUN 0 -JobGroup 0ae875e5-99a6-4ae8-9cb5-c3375328954c -Size 20480 -Dynamic -Filename "Exch2010_disk_1"

$VMHost = Get-VMHost -VMMServer localhost where {$_.Name -eq "fpdhpv02.mcnmena.local"}
$HardwareProfile = Get-HardwareProfile -VMMServer localhost where {$_.Name -eq "Profilea0eef8f3-59c2-4990-994d-c524ac2f02fe"}
$OperatingSystem = Get-OperatingSystem -VMMServer localhost where {$_.Name -eq "64-bit edition of Windows Server 2008 Enterprise"}

New-VM -VMMServer localhost -Name "Exch2010" -Description "" -Owner "MCNMENA\tariq.admin" -VMHost $VMHost -Path "E:\VirtualArea" -HardwareProfile $HardwareProfile -JobGroup 0ae875e5-99a6-4ae8-9cb5-c3375328954c -RunAsynchronously -OperatingSystem $OperatingSystem -RunAsSystem -StartAction TurnOnVMIfRunningWhenVSStopped -DelayStart 0 -StopAction SaveVM

Monday, February 1, 2010

IE 8 Freezing Randomly

Hi,
My laptop’s IE 8 was freezing randomly and checking the event log revealed a faulty adobe plug-in. I have followed the steps described in the below link to uninstall and update the adobe Flash version. Also did an IE reset (Tools -> Advanced). Now things seems to be fine.
Steps not mentioned in the below link:
1. Close all IE instances.
2. After uninstalling Adobe Flash, restart the machine before upgrading to latest Adobe Flash.
http://forums.adobe.com/thread/559169?tstart=0


Log Name: Application
Source: Application Error
Date: 2/1/2010 4:58:01 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: tariq_win7.xxx.LOCAL
Description:
Faulting application name: iexplore.exe, version: 8.0.7600.16385, time stamp: 0x4a5bc69e
Faulting module name: Flash10d.ocx, version: 10.0.42.34, time stamp: 0x4ae7baed
Exception code: 0xc0000005
Fault offset: 0x0015843d
Faulting process id: 0x1328
Faulting application start time: 0x01caa32b8b8f6cda
Faulting application path: C:\Program Files (x86)\Internet Explorer\iexplore.exe
Faulting module path: C:\Windows\SysWow64\Macromed\Flash\Flash10d.ocx
Report Id: 6d4f1fea-0f31-11df-a224-002186c48273
Event Xml:
1000
2
100
0x80000000000000
1979
Application
tariq_win7.xxx.LOCAL
iexplore.exe
8.0.7600.16385
4a5bc69e
Flash10d.ocx
10.0.42.34
4ae7baed
c0000005
0015843d
1328
01caa32b8b8f6cda
C:\Program Files (x86)\Internet Explorer\iexplore.exe
C:\Windows\SysWow64\Macromed\Flash\Flash10d.ocx
6d4f1fea-0f31-11df-a224-002186c48273