Comments (4)
@Flyslinger2 while I can guess the problem from the wall of output, a friendly text explaining things in the description section would be appreciated for your next issue 👍
The steps to reproduce are unfortunately not enough to reproduce the issue and result in a different error, since you omitted the rest of the lab script.
I assume that you have a cmdlet called Get-Cluster
coming from a different module. I'll ensure that Get-Cluster is only called if it is coming from the module FailoverClusters
from automatedlab.
I was using this: https://www.youtube.com/watch?v=lrPlRvFR5fA
I believe you created the video.
I followed the steps exactly as you demonstrated.
from automatedlab.
My commands:
Install-Module -Name AutomatedLab
New-LabSourcesFolder -DriveLetter "E"
New-LabDefinition -Name MyFirstLab -DefaultVirtualizationEngine HyperV
Add-LabMachineDefinition -Name MyFirstVM -OperatingSystem 'Windows Server 2019 Datacenter Evaluation (Desktop Experience)'
The results:
PS C:\Users\MarkSigsbee\Downloads\wolfssl> Add-LabMachineDefinition -Name MyFirstLab -Memory 4GB -OperatingSystem 'Windows Server 2019 Datacenter Evaluation (Desktop Experience)'
12:59:51|00:00:08|00:00:00.000| - Adding Hyper-V machine definition 'MyFirstLab'
12:59:51|00:00:09|00:00:00.346| - No virtual networks specified. Creating a network automatically
12:59:51|00:00:09|00:00:00.427| - Creating network 'MyFirstLab' with address space '192.168.11.0/24'
Get-VM : 10/10/2023 12:59:51 PM Get-VM You are not currently connected to any servers. Please connect first using a Connect cmdlet.
At C:\Users\MarkSigsbee\OneDrive - ZTI Solutions, LLC\Documents\WindowsPowerShell\Modules\AutomatedLabWorker\5.49.0\AutomatedLabWorker.psm1:6174
char:21
-
[object[]]$vm = Get-VM @param
-
~~~~~~~~~~~~~
- CategoryInfo : ResourceUnavailable: (:) [Get-VM], ViServerConnectionException
- FullyQualifiedErrorId : Core_BaseCmdlet_NotConnectedError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVM
Get-Cluster : 10/10/2023 12:59:51 PM Get-Cluster You are not currently connected to any servers. Please connect first using a Connect cmdlet.
Why is it trying Vmware instead of HyperV?
from automatedlab.
Below is my most recent attempt.
This was a completely new profile on Win10. All new VS Code, AutomatedLab-5.49.8, etc. installs. I used the start 3 line script from your website. I get errors:
from automatedlab.
Related Issues (20)
- Could not identify the version of operating system 'Windows 10 Pro' HOT 2
- [New Feature]: SMTP server role HOT 2
- Network/DNS/WIfI ISSUE HOT 3
- [Bug]: Error creating VM HOT 3
- [Bug]: Unable to intall-lab following getting started steps HOT 2
- [Bug]: ConfigurationManager (SCCM) deployment doesn't work. HOT 6
- Error 'No machine definitions imported' HOT 5
- Improve/Create role properties documentation
- [Bug]: Invoke-LabCommand...leaving: No machine definitions imported, so there is nothing to do HOT 1
- [Bug]: WARNING: (544,45): warning CS0168: The variable 'e' is declared but never used HOT 1
- [New Feature]: Improve discoverability HOT 1
- [Bug]: Error when attempting to add a VM with Add-LabMachineDefinition HOT 4
- You are not connected to any servers. HOT 10
- [Bug]: WinRM port never opens
- Is there a way to install sysmon with options? HOT 2
- [New Feature]: Map Host Folders to VM HOT 2
- [Bug]: Timeout when 'Starting remaining machines' HOT 5
- [Bug]: Hyper-V VM created with -VmGeneration 1 fails to boot HOT 8
- [Bug]: Hyper-V VM having network adapter created with -UseDhcp gets static IP assigned HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automatedlab.