Archives

ukkaapie

Server 2019 VDI on Hyper-V cluster

Hi,

I’m not sure what to put this under but I am having an issue with creating a Microsoft VDI collection on to a Hyper-V cluster.

I have 3 Hyper-V hosts in a cluster and the Connection Broker is a VM on this cluster.  I am trying to deploy to the same cluster.

From this connection broker I can create the collection fine if I select to store the VM on the virtualization host at a specific folder but if I choose to store on a cluster shared volume then the setup fails with the following (original VM names and ID
replaced):

Failed to export virtual machine "VMTemplate". Can not merge Automatic VHD chain for ‘C:ClusterStorageVolume1VDIVMTeplate_1833A97A-5803-480E-8659-E44C01D950DA.avhdx’

I did notice that the Connection Broker creates a folder "C:ClusterStorageVolume1VDIWin10" on itself (Win10 is the collection name I was giving it).

Any help would be greatly appreciated.

Read full post . . . .

Windows 10 VM on Server 2019 Hyper-V

Has anyone had any issues building a Windows 10 VM on Server 2019 with Hyper-V installed?

I keep getting OOBE errors (Keyboard, Region, etc) but if I build using the same ISO on my Windows 10 Hyper-V then it builds fine.

Quite a number of people of having issues and there are workarounds but if the ISO is working fine then surely something else is causing the issue?

Read full post . . . .

Powershell function inside a string

This may seem strange but I am trying to store powershell functions in a SQL table.

I can do the SQL part but when I try to import the functions stored inside a string I get nothing.

For example:

$test = "function hello() { write-host ""hello world"" }"
$ps = New-Module -Name PS -ScriptBlock {$test} -AsCustomObject
$ps | gm

I get the following output:

   TypeName: System.Management.Automation.PSCustomObject

Name        MemberType Definition                    
—-        ———- ———-                    
Equals      Method     bool Equals(System.Object obj)
GetHashCode Method     int GetHashCode()             
GetType     Method     type GetType()                
ToString    Method     string ToString()     

No function

Read full post . . . .

Go Que Newsroom Categories

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20 bytes) in /home/content/36/8658336/html/goquecom/wp-includes/taxonomy.php on line 3363