Managing Hyper-V
-
@scottalanmiller said in Managing Hyper-V:
Not something that I've looked into yet. But if you use PowerShell to manage Hyper-V, is there anyway to get console access without another tool? Like can PS be used to activate an RDP session to a VM console redirect?
I've been able to install screen connect on it and manage it that way.
-
The issue with that is my lack of powershell knowledge
-
@wirestyle22 said in Managing Hyper-V:
The issue with that is my lack of powershell knowledge
base knowledge needed to work on Windows. Just how it is.
-
@Mike-Davis said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
Not something that I've looked into yet. But if you use PowerShell to manage Hyper-V, is there anyway to get console access without another tool? Like can PS be used to activate an RDP session to a VM console redirect?
I've been able to install screen connect on it and manage it that way.
How do you get SC onto a fresh install of Windows? You need to make the base image somewhere with a console.
-
@scottalanmiller said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
The issue with that is my lack of powershell knowledge
base knowledge needed to work on Windows. Just how it is.
Directly conflicts with me wanting to turn myself into a proper linux systems administrator
-
@wirestyle22 said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
The issue with that is my lack of powershell knowledge
base knowledge needed to work on Windows. Just how it is.
Directly conflicts with me wanting to turn myself into a proper linux systems administrator
Not really. Good practices on Windows are good practices on Linux. They are not as different as people think.
-
@scottalanmiller said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
The issue with that is my lack of powershell knowledge
base knowledge needed to work on Windows. Just how it is.
Directly conflicts with me wanting to turn myself into a proper linux systems administrator
Not really. Good practices on Windows are good practices on Linux. They are not as different as people think.
I just mean i have extremely limited time and I have been using it to read about Red Hat and the Linux Command Line. The prospect of also studying for Powershell is off-putting
-
I prefer them on a domain if possible. As soon as the Hyper-V group policies hit, remote management is automatic and guaranteed. (with the exception of Nano Server, I run a script)
-
@scottalanmiller said in Managing Hyper-V:
@Mike-Davis said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
Not something that I've looked into yet. But if you use PowerShell to manage Hyper-V, is there anyway to get console access without another tool? Like can PS be used to activate an RDP session to a VM console redirect?
I've been able to install screen connect on it and manage it that way.
How do you get SC onto a fresh install of Windows? You need to make the base image somewhere with a console.
download the .msi installer and use the command line msiexec /i to install it the same way you install the open manage tools. In Screen Connect it's like you're sitting at the console:
-
@wirestyle22 said in Managing Hyper-V:
The issue with that is my lack of powershell knowledge
How often are you creating new VMs and all that? Just google it and you're good to go. The day to day stuff is pretty much menu driven:
-
@Mike-Davis said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
The issue with that is my lack of powershell knowledge
How often are you creating new VMs and all that? Just google it and you're good to go. The day to day stuff is pretty much menu driven:
The installation of Hyper-V is easy. I have not been able to figure out how to manager a non-domain connected host from a domain connected workstation via hyper-v manager. If powershell management is the only option then I have a problem
-
@Mike-Davis said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@Mike-Davis said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
Not something that I've looked into yet. But if you use PowerShell to manage Hyper-V, is there anyway to get console access without another tool? Like can PS be used to activate an RDP session to a VM console redirect?
I've been able to install screen connect on it and manage it that way.
How do you get SC onto a fresh install of Windows? You need to make the base image somewhere with a console.
download the .msi installer and use the command line msiexec /i to install it the same way you install the open manage tools. In Screen Connect it's like you're sitting at the console:
What's your method for installing and configuring the base OS to get to that point?
-
I know that you can use Hyper-V on Windows 10, make a base image, and then deploy via image. Is that just what people do? Make the starting images via a different process then just use command line PS or similar to manage them once they are deployed? This is how AWS and Azure work, so it isn't crazy. But it's not ideally convenient either, and those systems lose console access which can be a pain and there isn't any reason to have to lose that with Hyper-V.
-
What's your method for installing and configuring the base OS to get to that point?
It's a new physical host, so I'm physically in front of the server or using ilo/DRAC. Attach the hyper-v .iso, install, and then map a drive to a share on my laptop to get screen connect and/or open manage, etc.
-
@Mike-Davis said in Managing Hyper-V:
What's your method for installing and configuring the base OS to get to that point?
It's a new physical host, so I'm physically in front of the server or using ilo/DRAC. Attach the hyper-v .iso, install, and then map a drive to a share on my laptop to get screen connect and/or open manage, etc.
How does that help, though? We want console access to the VMs, not to the Hyper-V host. What does a connection to the Hyper-V host buy us?
-
Sounding more and more like hyperv is a disaster without these kinds of tools
-
@DustinB3403 said in Managing Hyper-V:
Sounding more and more like hyperv is a disaster without these kinds of tools
It seems very frustrating to me but a lot of people use it and are happy with it so I chalked it up to my own inexperience, which it still may be
-
@scottalanmiller said in Managing Hyper-V:
@Mike-Davis said in Managing Hyper-V:
What's your method for installing and configuring the base OS to get to that point?
It's a new physical host, so I'm physically in front of the server or using ilo/DRAC. Attach the hyper-v .iso, install, and then map a drive to a share on my laptop to get screen connect and/or open manage, etc.
How does that help, though? We want console access to the VMs, not to the Hyper-V host. What does a connection to the Hyper-V host buy us?
VM creation?
-
I've used 2012 with hyperv enabled, and if we ever wanted to manage or create a vm Wed rep to the server.
Which is a bit insane. But it's how it worked.
Can you RDP to a straight hyperv install for the same use?
-
@DustinB3403 said in Managing Hyper-V:
I've used 2012 with hyperv enabled, and if we ever wanted to manage or create a vm Wed rep to the server.
Which is a bit insane. But it's how it worked.
Can you RDP to a straight hyperv install for the same use?
Yes you can