Click here to Skip to main content
15,887,346 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Rant. Pin
Craig Robbins12-Jul-22 8:00
Craig Robbins12-Jul-22 8:00 
GeneralRe: Rant. Pin
j snooze12-Jul-22 11:56
j snooze12-Jul-22 11:56 
GeneralRe: Rant. Pin
Gary R. Wheeler12-Jul-22 13:08
Gary R. Wheeler12-Jul-22 13:08 
GeneralRe: Rant. Pin
DerekT-P13-Jul-22 2:20
professionalDerekT-P13-Jul-22 2:20 
GeneralRe: Rant. Pin
Andreas Mertens12-Jul-22 17:55
professionalAndreas Mertens12-Jul-22 17:55 
General"Reconnecting" to VMs... Pin
dandy7212-Jul-22 5:03
dandy7212-Jul-22 5:03 
GeneralRe: "Reconnecting" to VMs... Pin
Andreas Mertens12-Jul-22 5:07
professionalAndreas Mertens12-Jul-22 5:07 
GeneralRe: "Reconnecting" to VMs... Pin
dandy7212-Jul-22 6:57
dandy7212-Jul-22 6:57 
Sounds interesting, but overkill for the simple task I'm trying to do. And unless I'm misreading your response, PowerShell already has all the commands to do this nowadays.

In the end, it turns out New-VM has all the params it needs to do a pretty decent job, so I banged together a smallish script after posting my previous question - by far the most complex part was deciding what to name the VMs being created based on the name of the subfolder a VHD/VHDX was found in.

[Edit]

My script recreated 159 VMs from 159 VHD/VHDX files it found in a bunch of folders on an external drive in well under 5 minutes. The script took less than 2 hours to write. If I ever re-use it a second time, its value will go up even more.

Worth it.

modified 12-Jul-22 13:25pm.

GeneralRe: "Reconnecting" to VMs... Pin
Andreas Mertens12-Jul-22 7:51
professionalAndreas Mertens12-Jul-22 7:51 
GeneralRe: "Reconnecting" to VMs... Pin
dandy7213-Jul-22 4:24
dandy7213-Jul-22 4:24 
GeneralRe: "Reconnecting" to VMs... Pin
fgs196312-Jul-22 8:52
fgs196312-Jul-22 8:52 
GeneralRe: "Reconnecting" to VMs... Pin
dandy7213-Jul-22 4:29
dandy7213-Jul-22 4:29 
GeneralRe: "Reconnecting" to VMs... Pin
fgs196313-Jul-22 9:52
fgs196313-Jul-22 9:52 
GeneralRe: "Reconnecting" to VMs... Pin
dandy7213-Jul-22 10:24
dandy7213-Jul-22 10:24 
GeneralRe: "Reconnecting" to VMs... Pin
Paul Sanders (the other one)13-Jul-22 7:36
Paul Sanders (the other one)13-Jul-22 7:36 
GeneralRe: "Reconnecting" to VMs... Pin
englebart13-Jul-22 15:58
professionalenglebart13-Jul-22 15:58 
GeneralRe: "Reconnecting" to VMs... Pin
dandy7214-Jul-22 5:18
dandy7214-Jul-22 5:18 
GeneralRe: "Reconnecting" to VMs... Pin
Peter Adam13-Jul-22 10:35
professionalPeter Adam13-Jul-22 10:35 
GeneralRe: "Reconnecting" to VMs... Pin
dandy7214-Jul-22 5:22
dandy7214-Jul-22 5:22 
GeneralRe: "Reconnecting" to VMs... Pin
Peter Adam14-Jul-22 21:10
professionalPeter Adam14-Jul-22 21:10 
GeneralRe: "Reconnecting" to VMs... Pin
dandy7215-Jul-22 4:09
dandy7215-Jul-22 4:09 
GeneralWordle strangeness Pin
pkfox12-Jul-22 2:34
professionalpkfox12-Jul-22 2:34 
GeneralRe: Wordle strangeness Pin
den2k8812-Jul-22 3:22
professionalden2k8812-Jul-22 3:22 
JokeRe: Wordle strangeness Pin
Greg Utas12-Jul-22 3:41
professionalGreg Utas12-Jul-22 3:41 
GeneralRe: Wordle strangeness Pin
Member 1065208312-Jul-22 21:11
Member 1065208312-Jul-22 21:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.