Windows Server 2008 and 2008 R2

Copy vhd's to your Hyper-V server via Powershell

What do you do if you want to copy your vhd's from a share to your storage on your Hyper-V server?

I guess cut and paste...

What if you don't want to get your fingers all sticky from the GUI?

Lets try some powershell:

First lets create the directory so wh acn have a copy of the vhd's where we want it. Lets create a folder in the c:\ drive called VHD-staging

{code}
New-Item c:\VHD-staging -type directory
{code}

Great now we have a directory.
Now lets connect to the share:

{code}
New-PSDrive -name P -psprovider FileSystem -root \\10.0.0.1\ShareName
{code}

Desktop Delivery: 
Virtualization Servers and Hosts: 
Microsoft Server Products: 

Why reconfigure proxy.xml for your vCenter and XenDesktop?

Wow, a lot of jumping between XenServer, Hyper-V and vSphere this week. It really was fun, fun, fun until I had to take my daugher’s T-bird away. But that is yet another story.

Today’s topic is everyone’s favorite xml file, proxy.xml. What fun! Ah, the pleasant days spent in a customer’s datacenter, conference room, or cube hacking away at this file. I could tell you stories only fit for the “National Enquirer”. Unfortunately today I am only going to tell stories about why this particular CTX article is so important.
CTX125578
http://support.citrix.com/article/CTX125578

Desktop Delivery: 
Virtualization Servers and Hosts: 
Microsoft Server Products: 

Create Large VHD's in seconds Wow!

Simul-post http://community.citrix.com/blogs/citrite/royt

The vhd Tool at MSDN by Chris Eck can crete large VHD's via command line in seconds. Wow! this is better than chocolate ice cream and just short of Spumoni. (And when the fat guy rates something in the range of ice cream you know it's a good tool.)
http://code.msdn.microsoft.com/vhdtool
Here is what he says about it...

Latest News

The final release of v2 is now available.

Desktop Delivery: 
Virtualization Servers and Hosts: 
Citrix XenApp: 
Microsoft Server Products: 

Use Powershell to add the Host to SCVMM from your XenDesktop DDC

Sorry I haven't posted in a while. A case of pneumonia and Kylie had bronchitis so I'm a bit behind.

Here is an interesting bit:
I grabbed some code from bsonposh.com and added it to some code scraped out of SCVMM to get something to automate adding a host to SCVMM.

I used bsonposh.com Set-myCredential.ps1 to save a credential file:


#Set-myCredential.ps1
$user = "xendesktop\administrator"
$file = "c:\scripts\credentials.enc.xml"
$Credential = Get-Credential

Desktop Delivery: 
Virtualization Servers and Hosts: 
Microsoft Server Products: 

Free eBooks from Microsoft Press

Use PowerShell To Log Custom Events from XenDesktop, XenApp, or Hyper-V

Use PowerShell To Log Custom Events from XenDesktop, XenApp, or Hyper-V

I have been rewriting some of the scripts I had on www.tokeshi.com into PowerShell.

Desktop Delivery: 
Virtualization Servers and Hosts: 
Citrix XenApp: 
Microsoft Server Products: 

Ping Test Your XenDesktop Resources with PowerShell

Ping Test Your XenDesktop Resources with PowerShell
One of my current adventures is a migration of some of my XenServers to Hyper-v in the home lab. As I was dividing up some NFS storage to a iSCSI server, I found myself bringing up and updating a lot of my infrastructure components and started to think that maybe it was a good time to update an old vb script I wrote years ago to test for availability of several infrastructure components.

So here is the script:

I. Set up the workspace in Excel
II. Set up workbook and worksheet in the spreadsheet.

Desktop Delivery: 
Virtualization Servers and Hosts: 
Microsoft Server Products: 

How to install Windows 7 into a local VHD

One of the things my kids asked for Christmas was a Windows 7 install with a local vhd. So here is what I did.

Similar to the method that you delete the local bitlocker partition here is how you install Windows 7 into a vhd

At the beginning of the GUI install press:
Shift + F10
In the command prompt window:
Diskpart

Inside the diskpart control:

Select disk 0
Create part primary
Select part 1
Format fs=ntfs quick
Assign letter=c (note that the letter is not a factor in these steps nor does it apply to how the drive is viewed later)

Microsoft Server Products: 

How to Partition a disk during Windows Install

At the partitioning window during install open a command prompt by pressing Shift + F10
Once in type diskpart

Microsoft Server Products: 

Using Microsoft's DFS replication with Provisioning Services HA by Trevor Mansell

Please check out Trevor Mansell's blog article:

Using Microsoft's DFS replication with Provisioning Services HA

He just wrote a great article about DFS replication and its use in Provisioning Services Environments.

Here is the intro to the article:

Desktop Delivery: 
Microsoft Server Products: 

Pages

Powered by Drupal
Subscribe to RSS - Windows Server 2008 and 2008 R2