Skip to content
This repository was archived by the owner on Jun 16, 2021. It is now read-only.

Latest commit

History

History
127 lines (89 loc) · 2.61 KB

File metadata and controls

127 lines (89 loc) · 2.61 KB
external help fileWindowsCompatibility-help.xml
Module NameWindowsCompatibility
online version
schema2.0.0

Compare-WinModule

SYNOPSIS

Compare the set of modules for this version of PowerShell against those available in the compatibility session.

SYNTAX

Compare-WinModule [[-Name] <String[]>] [-ComputerName <String>] [-ConfigurationName <String>]
[-Credential <PSCredential>] [<CommonParameters>]

DESCRIPTION

Compare the set of modules for this version of PowerShell against those available in the compatibility session.

EXAMPLES

EXAMPLE 1

Compare-WinModule

This will return a list of all of the modules available in the compatibility session that are not currently available in the PowerShell Core environment.

EXAMPLE 2

Compare-WinModule A*

This will return a list of all of the compatibility session modules matching the wildcard pattern 'A*'.

PARAMETERS

-ComputerName

If you don't want to use the default compatibility session, use this parameter to specify the name of the computer on which to create the compatibility session. (Defaults to 'localhost')

Type: StringParameter Sets: (All)Aliases: cnRequired: FalsePosition: NamedDefault value: localhostAccept pipeline input: FalseAccept wildcard characters: False

-ConfigurationName

Specifies the configuration to connect to when creating the compatibility session. (Defaults to 'Microsoft.PowerShell')

Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: Microsoft.PowerShellAccept pipeline input: FalseAccept wildcard characters: False

-Credential

If needed, use this parameter to specify credentials for the compatibility session.

Type: PSCredentialParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-Name

Specifies the names or name patterns of for the modules to compare. Wildcard characters are permitted.

Type: String[]Parameter Sets: (All)Aliases:
Required: FalsePosition: 1Default value: *Accept pipeline input: FalseAccept 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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

System.Management.Automation.PSObject

NOTES

RELATED LINKS