PnP.Wsl2
Search Results for

    Show / Hide Table of Contents

    Disable-PnPWsl2

    SYNOPSIS

    Disables the Windows features 'VirtualMachinePlatform' and 'Microsoft-Windows-Subsystem-Linux'.

    SYNTAX

    Disable-PnPWsl2 [-ProgressAction <ActionPreference>] 
    

    DESCRIPTION

    The Disable-PnPWsl2 function disables the Windows features 'VirtualMachinePlatform' and 'Microsoft-Windows-Subsystem-Linux'. It prompts the user for confirmation before disabling the features and also checks if the cmdlet is being run as an administrator. After disabling the features, it prompts the user to restart the machine.

    EXAMPLE 1

    Disable-PnPWsl2
    
    • Edit this page
    In this article
    Back to top Generated by DocFX