Giter Club home page Giter Club logo

Comments (8)

raandree avatar raandree commented on August 27, 2024

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.

AJcandelario avatar AJcandelario commented on August 27, 2024

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.

raandree avatar raandree commented on August 27, 2024

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.

AJcandelario avatar AJcandelario commented on August 27, 2024

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

automated lab log.docx

from automatedlab.

raandree avatar raandree commented on August 27, 2024

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.

AJcandelario avatar AJcandelario commented on August 27, 2024

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

automated lab log2.docx

from automatedlab.

AJcandelario avatar AJcandelario commented on August 27, 2024

ooopss sorry my Bad. I was wrong on the path. thank you so much. this is solve

from automatedlab.

raandree avatar raandree commented on August 27, 2024

Great. If you face any further issue, please let us know.

from automatedlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.