Skip to content

Instantly share code, notes, and snippets.

@nyanhp
Created April 11, 2018 09:37
Show Gist options
  • Save nyanhp/2f4a66bc3dbc107d29038daf99aba847 to your computer and use it in GitHub Desktop.
Save nyanhp/2f4a66bc3dbc107d29038daf99aba847 to your computer and use it in GitHub Desktop.
Mount the AutomatedLab drive
# Install the module
Install-Module AutomatedLab.Ships
# Either Mount the drive yourself
Import-Module AutomatedLab.Ships
New-PSDrive -PSProvider SHiPS -Name Labs -Root "AutomatedLab.Ships#LabHost"
# Or simply import AutomatedLab to get one mapped for you
Import-Module AutomatedLab
# Explore it!
Get-ChildItem labs:
# All your labs can be browsed, e.g.
Get-ChildItem labs:\MyFirstLab\Machines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment