Managing Hyper-V
-
However I have no idea if this is possible with Windows or not.
-
@stacksofplates said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
@Dashrender said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
I don't understand what the issue is here. Install and configure a Hyper-V Host... then connect to it via Hyper-V Manager, FCM, or PowerShell. None of the Windows GUI tools do anything that you cannot do with PowerShell. In fact it's the other way around. You can do way more to Hyper-V with PowerShell than from any tool. Just learn the commands and move on. They are so easy.
That allows you to manage the hypervisor.. what about getting console access to the VMs?
Hyper-V Manager gives you console access to the VMs.
Is that a PowerShell tool? How do you get the console via PowerShell?
I'm kind of heading the cloud way without a cloud. My prod templates anymore don't have console logins. I mean you can look at the console but no users can log in through it. Only SSH from Tower with a 4096 bit key.
Right, this is what I was thinking is a good fix. But it requires building that template somewhere initially.
-
@scottalanmiller said in Managing Hyper-V:
@stacksofplates said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
@Dashrender said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
I don't understand what the issue is here. Install and configure a Hyper-V Host... then connect to it via Hyper-V Manager, FCM, or PowerShell. None of the Windows GUI tools do anything that you cannot do with PowerShell. In fact it's the other way around. You can do way more to Hyper-V with PowerShell than from any tool. Just learn the commands and move on. They are so easy.
That allows you to manage the hypervisor.. what about getting console access to the VMs?
Hyper-V Manager gives you console access to the VMs.
Is that a PowerShell tool? How do you get the console via PowerShell?
I'm kind of heading the cloud way without a cloud. My prod templates anymore don't have console logins. I mean you can look at the console but no users can log in through it. Only SSH from Tower with a 4096 bit key.
Right, this is what I was thinking is a good fix. But it requires building that template somewhere initially.
That's why I specified prod. Dev still has console access. So if I need it I can use it. Then just move that to prod.
-
@stacksofplates said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@stacksofplates said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
@Dashrender said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
I don't understand what the issue is here. Install and configure a Hyper-V Host... then connect to it via Hyper-V Manager, FCM, or PowerShell. None of the Windows GUI tools do anything that you cannot do with PowerShell. In fact it's the other way around. You can do way more to Hyper-V with PowerShell than from any tool. Just learn the commands and move on. They are so easy.
That allows you to manage the hypervisor.. what about getting console access to the VMs?
Hyper-V Manager gives you console access to the VMs.
Is that a PowerShell tool? How do you get the console via PowerShell?
I'm kind of heading the cloud way without a cloud. My prod templates anymore don't have console logins. I mean you can look at the console but no users can log in through it. Only SSH from Tower with a 4096 bit key.
Right, this is what I was thinking is a good fix. But it requires building that template somewhere initially.
That's why I specified prod. Dev still has console access. So if I need it I can use it. Then just move that to prod.
Ah, I see.
-
Obviously jsut having a Hyper-V desktop can do this too for SMBs. That might just be the right answer.
-
@JaredBusch said in Managing Hyper-V:
@matteo-nunziati said in Managing Hyper-V:
ok comany is closing. after dinner will put notes here!
it is just winrm, trusthosts and same user/password/workgroup setup. then you can fly!
This is the answer for non domain joined systems.
But most people have no need for this in the SMB as a MS AD deployment is almost always already in place.
@Dashrender opened this thread with a poor hypothetical scenario.
It is something that can apply to an ITSP or consultant, but it is completely not something that will apply to the vast majority of deployments.
They asked for non ad joined management...
-
@matteo-nunziati said in Managing Hyper-V:
@JaredBusch said in Managing Hyper-V:
@matteo-nunziati said in Managing Hyper-V:
ok comany is closing. after dinner will put notes here!
it is just winrm, trusthosts and same user/password/workgroup setup. then you can fly!
This is the answer for non domain joined systems.
But most people have no need for this in the SMB as a MS AD deployment is almost always already in place.
@Dashrender opened this thread with a poor hypothetical scenario.
It is something that can apply to an ITSP or consultant, but it is completely not something that will apply to the vast majority of deployments.
They asked for non ad joined management...
Even so, Jared is right.
-
@wirestyle22 said in Managing Hyper-V:
@matteo-nunziati said in Managing Hyper-V:
@JaredBusch said in Managing Hyper-V:
@matteo-nunziati said in Managing Hyper-V:
ok comany is closing. after dinner will put notes here!
it is just winrm, trusthosts and same user/password/workgroup setup. then you can fly!
This is the answer for non domain joined systems.
But most people have no need for this in the SMB as a MS AD deployment is almost always already in place.
@Dashrender opened this thread with a poor hypothetical scenario.
It is something that can apply to an ITSP or consultant, but it is completely not something that will apply to the vast majority of deployments.
They asked for non ad joined management...
Even so, Jared is right.
There ARE cases where you need or want to avoid AD joining. But I think that I agree, normally AD joining will be best and probably should happen here.
-
@DustinB3403 That is what I do, there is no need to join to the domain. If you are on the Windows 8.1 or Windows 10 computer you can browse the \servername\c$ share enter your username and password and then you can manage Hyperv without any prompts too.
-
@scottalanmiller 5nine has changed recently on this and no more free version...
-
There is also this, https://corefig.codeplex.com/
-
@scottalanmiller said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
@matteo-nunziati said in Managing Hyper-V:
@JaredBusch said in Managing Hyper-V:
@matteo-nunziati said in Managing Hyper-V:
ok comany is closing. after dinner will put notes here!
it is just winrm, trusthosts and same user/password/workgroup setup. then you can fly!
This is the answer for non domain joined systems.
But most people have no need for this in the SMB as a MS AD deployment is almost always already in place.
@Dashrender opened this thread with a poor hypothetical scenario.
It is something that can apply to an ITSP or consultant, but it is completely not something that will apply to the vast majority of deployments.
They asked for non ad joined management...
Even so, Jared is right.
There ARE cases where you need or want to avoid AD joining. But I think that I agree, normally AD joining will be best and probably should happen here.
Don't know. I miss ad for my company management. But honestly I see hypervisors as a building block like vlans and so. Something before services like the AD. Don't know if I would join the hv to the ad. Word this differently: it was xen would you put it under domain via samba in dom0?
-
@dbeato said in Managing Hyper-V:
@scottalanmiller 5nine has changed recently on this and no more free version...
Yes, we've been talking about that a lot
-
@scottalanmiller I realized that after my post..
-
@scottalanmiller said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
@Dashrender said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
I don't understand what the issue is here. Install and configure a Hyper-V Host... then connect to it via Hyper-V Manager, FCM, or PowerShell. None of the Windows GUI tools do anything that you cannot do with PowerShell. In fact it's the other way around. You can do way more to Hyper-V with PowerShell than from any tool. Just learn the commands and move on. They are so easy.
That allows you to manage the hypervisor.. what about getting console access to the VMs?
Hyper-V Manager gives you console access to the VMs.
Is that a PowerShell tool? How do you get the console via PowerShell?
Maybe I missed some posts and am not on track of what was meant by "console access to the VMs".
Can you clarify what is meant by that? For example, console access to a Windows Server 2016 VM running on Hyper-V Server 2016?
-
@Tim_G yes the virtual console
-
@dbeato said in Managing Hyper-V:
There is also this, https://corefig.codeplex.com/
Only major feature being sought is the remote console redirect from the VMs. Otherwise PowerShell does everything.
-
@Tim_G said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
@Dashrender said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
I don't understand what the issue is here. Install and configure a Hyper-V Host... then connect to it via Hyper-V Manager, FCM, or PowerShell. None of the Windows GUI tools do anything that you cannot do with PowerShell. In fact it's the other way around. You can do way more to Hyper-V with PowerShell than from any tool. Just learn the commands and move on. They are so easy.
That allows you to manage the hypervisor.. what about getting console access to the VMs?
Hyper-V Manager gives you console access to the VMs.
Is that a PowerShell tool? How do you get the console via PowerShell?
Maybe I missed some posts and am not on track of what was meant by "console access to the VMs".
Can you clarify what is meant by that? For example, console access to a Windows Server 2016 VM running on Hyper-V Server 2016?
How do you see the VM's console. The output that on Windows by default goes to the VGA adapter. The ability to see the system boot up before services come online or to connect before there is networking within the VM. Not the ability to see hyper-v, no one needs that. but to see the VMs at the console, not RDP, level.
-
@Tim_G said in Managing Hyper-V:
For example, console access to a Windows Server 2016 VM running on Hyper-V Server 2016?
Right, the console of the VM, not of the host. We know how to see the host, and how to manage Hyper-V from PowerShell. but if you pop in an ISO and fire it up to install, how do you interact with it as with Windows you need a GUI at this point and with Linux you need a TTY redirect.
-
@scottalanmiller said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
@Dashrender said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
I don't understand what the issue is here. Install and configure a Hyper-V Host... then connect to it via Hyper-V Manager, FCM, or PowerShell. None of the Windows GUI tools do anything that you cannot do with PowerShell. In fact it's the other way around. You can do way more to Hyper-V with PowerShell than from any tool. Just learn the commands and move on. They are so easy.
That allows you to manage the hypervisor.. what about getting console access to the VMs?
Hyper-V Manager gives you console access to the VMs.
Is that a PowerShell tool? How do you get the console via PowerShell?
Maybe I missed some posts and am not on track of what was meant by "console access to the VMs".
Can you clarify what is meant by that? For example, console access to a Windows Server 2016 VM running on Hyper-V Server 2016?
How do you see the VM's console. The output that on Windows by default goes to the VGA adapter. The ability to see the system boot up before services come online or to connect before there is networking within the VM. Not the ability to see hyper-v, no one needs that. but to see the VMs at the console, not RDP, level.
In Hyper-V Manager... right-click -> connect? Or double-click on the VM, I think that brings up the console too.