Skip to content

Latest commit

 

History

History
102 lines (69 loc) · 1.95 KB

Enable-Internet.md

File metadata and controls

102 lines (69 loc) · 1.95 KB
external help file Module Name online version schema
PSAutoLab-help.xml
PSAutoLab
2.0.0

Enable-Internet

SYNOPSIS

Configure lab configuration with Internet access.

SYNTAX

Enable-Internet [[-Path] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This function will enable Internet access for the virtual machines in the current lab configuration using a NAT interface. This command should be run from the configuration directory after the virtual machines have been set up.

EXAMPLES

Example 1

PS C:\Autolab\Configurations\Windows10> Enable-Internet

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

The path to the configuration folder. Normally, you should run all commands from within the configuration folder.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Get-NetNat

Get-VMSwitch