Get-LWAzureWindowsFeature
SYNOPSIS
List installed Windows features on an Azure VM
SYNTAX
Get-LWAzureWindowsFeature [-Machine] <Machine[]> [-FeatureName] <String[]> [-UseLocalCredential] [-AsJob]
[<CommonParameters>]
DESCRIPTION
List installed Windows features on an Azure VM
EXAMPLES
Example 1
PS C:\> Get-LWAzureWindowsFeature -Machine HostA -FeatureName Microsoft-Hyper-V-All
Retrieves the status of the optional feature Hyper-V from the Azure VM HostA
PARAMETERS
-AsJob
Indicates that the cmdlet should run in the background
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-FeatureName
The name of the feature
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Machine
The name of the machine
Type: Machine[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UseLocalCredential
Indicates that a local account should be used to connect
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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.