Comments (8)
Can you run the script again with verbose logging enabled ($VerbosePreference = 2)? This would give us more info to understand what's going on on your device.
Please provide the log as PDF or DOCX and. And please run the script in the ISE which supports rich copy.
from automatedlab.
Hi,
I am not sure what you mean on enabling the verbose.
Shall I edit the C:\Program Files\WindowsPowerShell\Modules\AutomatedLabDefinition\AutomatedLabDefinition.psm1 and add the $VerbosePreference = 2? If yes, on what line number I will add this?
Please correct me if Im wrong
from automatedlab.
There is no need to edit any file. Before running the lab deployment script in the ISE, please run this command:
$VerbosePreference = 2
You will get much more data on the console.
from automatedlab.
Hi,
Upon checking my lab xml file path goes to the network secured folder which is because of my GPO. there is a redirection on my laptop to save all my documents in as safe manner.
VERBOSE: Import-Lab Entering... (Path=\Computer1\users01$\USER1\AutomatedLab-Labs\SingleMachine\Lab.xml)
is it possible to create the xml file on my D drive?
kindly check the atttach log
from automatedlab.
I have never dealt with a scenario where the user's folder is redirected to a network location. You easily work around this by specifying the paths AL should use. Can you please defining the paths manually and try again?
New-LabDefinition -Name $labName -DefaultVirtualizationEngine HyperV -Path D:\Labs -VmPath D:\AutomatedLab-VMs
from automatedlab.
the path has been changed but it giving me an error of
VmPath parameter is specified for the lab and contains: 'D:\AutomatedLab-VMs'. However, estimated needed space be 2GB but drive has only 0 GB of free space
At C:\Program Files\WindowsPowerShell\Modules\AutomatedLabDefinition\AutomatedLabDefinition.psm1:1039 char:17
-
Throw "VmPath parameter is specified for the lab and contains: ' ...
-
+ CategoryInfo : OperationStopped: (VmPath paramete...B of free space:String) [], RuntimeException + FullyQualifiedErrorId : VmPath parameter is specified for the lab and contains: 'D:\AutomatedLab-VMs'. However, estimated needed space be 2GB but drive has only 0 GB of free space
I have attach the script here and the log
from automatedlab.
ooopss sorry my Bad. I was wrong on the path. thank you so much. this is solve
from automatedlab.
Great. If you face any further issue, please let us know.
from automatedlab.
Related Issues (20)
- [Bug]: Exchange task 'Exchange PrepareSchema' failed on 'E1Ex1' HOT 6
- [Bug]: Cannot reuse NetworkAdapter Objects HOT 2
- Add Windows Server 2025 Product Key HOT 6
- [Bug]: WARNING: (x,y): warning CS0168: The variable 'e' is declared but never used
- [Bug]: Can not install a secondary DC (role = DC) HOT 2
- Azure outdated Windows 10 & 11 image versions HOT 1
- [Bug]: Error configuring SSRS with SQL Server 2022
- [Bug]: When removing an Azure lab, 'Get-VMSwitch' is not recognized as a name of a cmdlet, function...
- [Bug]: Azure Windows 11 Deployment Gen2 VM HOT 2
- Possible to move Lab? HOT 1
- [Bug]: New-WinUserLanguageList bug HOT 3
- [Bug]: Failed to setup the lab with scenarios "Multi-AD Forest with Trusts" HOT 1
- [New Feature]: Support scoped Az context
- [Bug]: $adInstallFirstChildDc2012 scriptblock calls Write-ScreenInfo instead of Write-Warning HOT 3
- [Bug]: For AD Forests with domain trees deeper than 1 level, the parentdomain wouldn't also be the rootdomain for credential purposes HOT 3
- [Bug]: AutomatedLabWorker 5.48.7+ - Module Missing Command "New/Remove-LWAzureNetworkSwitch" HOT 1
- [Bug]: Invoke-LabDscConfiguration doesn't account for Meta Configuration files HOT 2
- What is the best way to update the module? HOT 2
- Can't connect lab machine to existing VNet in Azure HOT 3
- [Bug]: Exception calling "ParseExact" with "3" argument(s): "String was not recognized as a valid DateTime." HOT 3
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.