WindowsCompatibility.psm1
########################################################################################### # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. using namespace System.Management.Automation. using namespace System.Management.Automation.Runspaces Set-StrictMode -Version latest ########################################################################################### # A list of modules native to PowerShell Core that should never be imported $NeverImportList = @( "PSReadLine", "PackageManagement", "PowerShellGet", "Microsoft.PowerShell.Archive", "Microsoft.PowerShell.Host", "WindowsCompatibility" ) ########################################################################################### # The following is a list of modules native to PowerShell Core that don't have all of # the functionality of Windows PowerShell 5.1 versions. These modules can be imported but # will not overwrite any existing PowerShell Core commands $NeverClobberList = @( "Microsoft.PowerShell.Management", "Microsoft.PowerShell.Utility", "Microsoft.PowerShell.Security", "Microsoft.PowerShell.Diagnostics" ) ########################################################################################### # A list of compatibile modules that exist in Windows PowerShell that aren't available # to PowerShell Core by default. These modules, along with CIM modules can be installed # in the PowerShell Core module repository using the Copy-WinModule command. $CompatibleModules = @( "AppBackgroundTask", "AppLocker", "Appx", "AssignedAccess", "BitLocker", "BranchCache", "CimCmdlets", "ConfigCI", "Defender", "DeliveryOptimization", "DFSN", "DFSR", "DirectAccessClientComponents", "Dism", "EventTracingManagement", "GroupPolicy", "Hyper-V", "International", "IscsiTarget", "Kds", "MMAgent", "MsDtc", "NetAdapter", "NetConnection", "NetSecurity", "NetTCPIP", "NetworkConnectivityStatus", "NetworkControllerDiagnostics", "NetworkLoadBalancingClusters", "NetworkSwitchManager", "NetworkTransition", "PKI", "PnpDevice", "PrintManagement", "ProcessMitigations", "Provisioning", "PSScheduledJob", "ScheduledTasks", "SecureBoot", "SmbShare", "Storage", "TrustedPlatformModule", "VpnClient", "Wdac", "WindowsDeveloperLicense", "WindowsErrorReporting", "WindowsSearch", "WindowsUpdate" ) # Module-scope variable to hold the active compatibility session name $SessionName = $null # The computer name to use if one isn't provided. $SessionComputerName = 'localhost' # Specifies the default configuration to connect to when creating the compatibility session $SessionConfigurationName = 'Microsoft.PowerShell' Set-Alias -Name Add-WinPSModulePath -Value Add-WindowsPSModulePath # Location Changed handler that keeps the compatibility session PWD in sync with the parent PWD # This only applies on localhost. $locationChangedHandler = { [PSSession] $session = Initialize-WinSession -ComputerName $SessionComputerName -ConfigurationName $SessionConfigurationName -PassThru if ($session.ComputerName -eq "localhost") { $newPath = $_.newPath Invoke-Command -Session $session { Set-Location $using:newPath} } } $ExecutionContext.InvokeCommand.LocationChangedAction = $locationChangedHandler # Remove the location changed handler if the module is removed. $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = { if ($ExecutionContext.InvokeCommand.LocationChangedAction -eq $locationChangedHandler) { $ExecutionContext.InvokeCommand.LocationChangedAction = $null } } function Initialize-WinSession { [CmdletBinding()] [OutputType([System.Management.Automation.Runspaces.PSSession])] Param ( # 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. [Parameter(Mandatory=$false,Position=0)] [String] [Alias("Cn")] $ComputerName, # Specifies the configuration to connect to when creating the compatibility session # (Defaults to 'Microsoft.PowerShell') [Parameter()] [String] $ConfigurationName, # The credential to use when connecting to the target machine/configuration [Parameter()] [PSCredential] $Credential, # If present, the specified session object will be returned [Parameter()] [Switch] $PassThru ) [bool] $verboseFlag = $PSBoundParameters['Verbose'] if ($ComputerName -eq ".") { $ComputerName = "localhost" } Write-Verbose -Verbose:$verboseFlag "Initializing the compatibility session on host '$ComputerName'." if ($ComputerName) { $script:SessionComputerName = $ComputerName } else { $ComputerName = $script:SessionComputerName } if ($ConfigurationName) { $script:SessionConfigurationName = $ConfigurationName } else { $ConfigurationName = $script:SessionConfigurationName } if ($Credential) { $script:SessionName = "wincompat-$ComputerName-$($Credential.UserName)" } else { $script:SessionName = "wincompat-$ComputerName-$([environment]::UserName)" } Write-Verbose -Verbose:$verboseFlag "The compatibility session name is '$script:SessionName'." $session = Get-PSSession | Where-Object { $_.ComputerName -eq $ComputerName -and $_.ConfigurationName -eq $ConfigurationName -and $_.Name -eq $script:SessionName } | Select-Object -First 1 # Deal with the possibilities of multiple sessions. This might arise # from the user hitting ctrl-C. We'll make the assumption that the # first one returned is the correct one and we'll remove the rest. $session, $rest = $session if ($rest) { foreach ($s in $rest) { Remove-PSSession $s } } if ($session -and $session.State -ne "Opened") { Write-Verbose -Verbose:$verboseFlag "Removing closed compatibility session." Remove-PSSession $session $session = $null } if (-not $session) { $newPSSessionParameters = @{ Verbose = $verboseFlag ComputerName = $ComputerName Name = $script:sessionName ConfigurationName = $configurationName ErrorAction = "Stop" } if ($Credential) { $newPSSessionParameters.Credential = $Credential } if ($ComputerName -eq "localhost" -or $ComputerName -eq [environment]::MachineName) { $newPSSessionParameters.EnableNetworkAccess = $true } Write-Verbose -Verbose:$verboseFlag "Created new compatibiilty session on host '$computername'" $session = New-PSSession @newPSSessionParameters | Select-Object -First 1 if ($session.ComputerName -eq "localhost") { $usingPath = (Get-Location).Path Invoke-Command $session { Set-Location $using:usingPath } } } else { Write-Verbose -Verbose:$verboseFlag "Reusing the existing compatibility session; 'host = $script:SessionComputerName'." } if ($PassThru) { return $session } } function Add-WinFunction { [CmdletBinding()] [OutputType([void])] Param ( # The name of the function to define [Parameter(Mandatory,Position=0)] [String] [Alias("FunctionName")] $Name, # Scriptblock to use as the body of the function [Parameter(Mandatory,Position=1)] [ScriptBlock] $ScriptBlock, # 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. [Parameter()] [String] [Alias("Cn")] $ComputerName, # Specifies the configuration to connect to when creating the compatibility session # (Defaults to 'Microsoft.PowerShell') [Parameter()] [String] $ConfigurationName, # The credential to use when creating the compatibility session # using the target machine/configuration [Parameter()] [PSCredential] $Credential ) # Make sure the session is initialized [void] $PSBoundParameters.Remove('Name') [void] $PSBoundParameters.Remove('ScriptBlock') # the session variable will be captured in the closure $session = Initialize-WinSession @PSBoundParameters -PassThru $wrapper = { Invoke-Command -Session $session -Scriptblock $ScriptBlock -ArgumentList $args } Set-item function:Global:$Name $wrapper.GetNewClosure(); } function Invoke-WinCommand { [CmdletBinding()] [OutputType([PSObject])] Param ( # The scriptblock to invoke in the compatibility session [Parameter(Mandatory, Position=0)] [ScriptBlock] $ScriptBlock, # 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. [Parameter()] [String] [Alias("cn")] $ComputerName, # Specifies the configuration to connect to when creating the compatibility session # (Defaults to 'Microsoft.PowerShell') [Parameter()] [String] $ConfigurationName, # The credential to use when connecting to the compatibility session. [Parameter()] [PSCredential] $Credential, # Arguments to pass to the scriptblock [Parameter(ValueFromRemainingArguments)] [object[]] $ArgumentList ) [void] $PSBoundParameters.Remove('ScriptBlock') [void] $PSBoundParameters.Remove('ArgumentList') # Make sure the session is initialized [PSSession] $session = Initialize-WinSession @PSBoundParameters -PassThru # And invoke the scriptblock in the session Invoke-Command -Session $session -ScriptBlock $ScriptBlock -ArgumentList $ArgumentList } function Get-WinModule { [CmdletBinding()] [OutputType([PSObject])] Param ( # Pattern to filter module names by [Parameter(Mandatory=$false, Position=0)] [String[]] $Name='*', # 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. [Alias("cn")] [String] $ComputerName, # Specifies the configuration to connect to when creating the compatibility session # (Defaults to 'Microsoft.PowerShell') [Parameter()] [String] $ConfigurationName, # The credential to use when creating the compatibility session # using the target machine/configuration [Parameter()] [PSCredential] $Credential, # If specified, the complete deserialized module object # will be returned instead of the abbreviated form returned # by default. [Parameter()] [Switch] $Full ) [bool] $verboseFlag = $PSBoundParameters['Verbose'] Write-Verbose -Verbose:$verboseFlag 'Connecting to compatibility session.' $initializeWinSessionParameters = @{ Verbose = $verboseFlag ComputerName = $ComputerName ConfigurationName = $ConfigurationName Credential = $Credential PassThru = $true } [PSSession] $session = Initialize-WinSession @initializeWinSessionParameters if ($name -ne '*') { Write-Verbose -Verbose:$verboseFlag "Getting the list of available modules matching '$name'." } else { Write-Verbose -Verbose:$verboseFlag 'Getting the list of available modules.' } $propertiesToReturn = if ($Full) { '*' } else {'Name', 'Version', 'Description'} Invoke-Command -Session $session -ScriptBlock { Get-Module -ListAvailable -Name $using:Name | Where-Object Name -notin $using:NeverImportList | Select-Object $using:propertiesToReturn } | Select-Object $propertiesToReturn | Sort-Object Name } function Import-WinModule { [CmdletBinding()] [OutputType([PSObject])] Param ( # Specifies the name of the module to be imported. Wildcards can be used. [Parameter(Mandatory=$False,Position=0)] [String[]] $Name="*", # A list of wildcard patterns matching the names of modules that # should not be imported. [Parameter()] [string[]] $Exclude = "", # 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. [Parameter()] [String] [Alias("cn")] $ComputerName, # Specifies the configuration to connect to when creating the compatibility session # (Defaults to 'Microsoft.PowerShell') [Parameter()] [String] $ConfigurationName, # Prefix to prepend to the imported command names [Parameter()] [string] $Prefix = "", # Disable warnings about non-standard verbs [Parameter()] [Switch] $DisableNameChecking, # Don't overwrite any existing function definitions [Parameter()] [Switch] $NoClobber, # Force reloading the module [Parameter()] [Switch] $Force, # The credential to use when creating the compatibility session # using the target machine/configuration [Parameter()] [PSCredential] $Credential, # If present, the ModuleInfo objects will be written to the output pipe # as deserialized (PSObject) objects [Parameter()] [Switch] $PassThru ) [bool] $verboseFlag = $PSBoundParameters['Verbose'] Write-Verbose -Verbose:$verboseFlag "Connecting to compatibility session." $initializeWinSessionParameters = @{ Verbose = $verboseFlag ComputerName = $ComputerName ConfigurationName = $ConfigurationName Credential = $Credential PassThru = $true } [PSSession] $session = Initialize-WinSession @initializeWinSessionParameters # Mapping wildcards to a regex $Exclude = ($Exclude -replace "\*",".*") -join "|" Write-Verbose -Verbose:$verboseFlag "Getting module list..." $importNames = Invoke-Command -Session $session { # Running on the Remote Machine $m = (Get-Module -ListAvailable -Name $using:Name). Where{ $_.Name -notin $using:NeverImportList } # These can use wildcards e.g. Az*,x* will probably be common if ($using:Exclude) { $m = $m.Where{ $_.Name -NotMatch $using:Exclude } } $m.Name | Select-Object -Unique } Write-Verbose -Verbose:$verboseFlag "Importing modules..." $importModuleParameters = @{ Global = $true Force = $Force Verbose = $verboseFlag PSSession = $session PassThru = $PassThru DisableNameChecking = $DisableNameChecking } if ($Prefix) { $importModuleParameters.Prefix = $Prefix } if ($PassThru) { $importModuleParameters.PassThru = $PassThru } if ($importNames) { # Extract the 'never clobber' modules from the list $noClobberNames = $importNames.where{ $_ -in $script:NeverClobberList } $importNames = $importNames.where{ $_ -notin $script:NeverClobberList } if ($importNames) { Import-Module -Name $ImportNames -NoClobber:$NoClobber @importModuleParameters } if ($noClobberNames) { $importModuleParameters.PassThru = $true foreach ($name in $noClobberNames) { $module = Import-Module -Name $name -NoClobber @importModuleParameters # Hack using private reflection to keep the proxy module from shadowing the real module. $null = [PSModuleInfo]. GetMethod('SetName',[System.Reflection.BindingFlags]'Instance, NonPublic'). Invoke($module, @($module.Name + '.WinModule')) if($PassThru.IsPresent) { $module } } } } else { Write-Verbose -Verbose:$verboseFlag "No matching modules were found; nothing was imported" } } function Compare-WinModule { [CmdletBinding()] [OutputType([PSObject])] Param ( # Specifies the names or name patterns of for the modules to compare. # Wildcard characters are permitted. [Parameter(Position=0)] [String[]] $Name="*", # 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. [Parameter()] [String] [Alias("cn")] $ComputerName, # Specifies the configuration to connect to when creating the compatibility session # (Defaults to 'Microsoft.PowerShell') [Parameter()] [String] $ConfigurationName, # If needed, use this parameter to specify credentials for the compatibility session [Parameter()] [PSCredential] $Credential ) [bool] $verboseFlag = $PSBoundParameters['Verbose'] Write-Verbose -Verbose:$verboseFlag "Initializing compatibility session" $initializeWinSessionParameters = @{ Verbose = $verboseFlag ComputerName = $ComputerName ConfigurationName = $ConfigurationName Credential = $Credential PassThru = $true } [PSSession] $session = Initialize-WinSession @initializeWinSessionParameters Write-Verbose -Verbose:$verboseFlag "Getting local modules..." $LocalModule = (Get-Module -ListAvailable -Verbose:$false).Where{$_.Name -like $Name} Write-Verbose -Verbose:$verboseFlag "Getting remote modules..." # Use Invoke-Command here instead of the -PSSession option on Get-Module because # we're only returning a subset of the data $RemoteModule = @(Invoke-Command -Session $session { (Get-Module -ListAvailable). Where{$_.Name -notin $using:NeverImportList -and $_.Name -like $using:Name} | Select-Object Name, Version }) Write-Verbose -Verbose:$verboseFlag "Comparing module set..." Compare-Object $LocalModule $RemoteModule -Property Name,Version | Where-Object SideIndicator -eq "=>" } function Copy-WinModule { [CmdletBinding(SupportsShouldProcess)] [OutputType([void])] Param ( # Specifies names or name patterns of modules that will be copied. # Wildcard characters are permitted. [Parameter(Mandatory=$false,Position=0)] [String[]] $Name="*", # 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. [Parameter()] [String] [Alias("cn")] $ComputerName, # Specifies the configuration to connect to when creating the compatibility session # (Defaults to 'Microsoft.PowerShell') [Parameter()] [String] $ConfigurationName, # If needed, use this parameter to specify credentials for the compatibility session [Parameter()] [PSCredential] $Credential, # The location where compatible modules should be copied to [Parameter()] [String] $Destination ) [bool] $verboseFlag = $PSBoundParameters['Verbose'] [bool] $whatIfFlag = $PSBoundParameters['WhatIf'] [bool] $confirmFlag = $PSBoundParameters['Confirm'] if (-not $Destination) { # If the user hasn't specified a destination, default to the user module directory $parts = [environment]::GetFolderPath([System.Environment+SpecialFolder]::MyDocuments), "PowerShell", "Modules" $Destination = Join-Path @parts } # Resolve the path which also verifies that the path exists $resolvedDestination = Resolve-Path $Destination -ErrorAction SilentlyContinue if (-not $?) { throw "The destination path '$Destination' could not be resolved. Please ensure that the path exists and try the command again" } # Make sure it's a FileSystem location if ($resolvedDestination.provider.ImplementingType -ne [Microsoft.PowerShell.Commands.FileSystemProvider] ) { throw "Modules can only be installed to paths in the filesystem. Please choose a different location and try the command again" } $Destination = $resolvedDestination.Path $initializeWinSessionParameters = @{ Verbose = $verboseFlag ComputerName = $ComputerName ConfigurationName = $ConfigurationName Credential = $Credential PassThru = $true } [PSSession] $session = Initialize-WinSession @initializeWinSessionParameters $copyItemParameters = @{ WhatIf = $whatIfFlag Verbose = $verboseFlag Confirm = $confirmFlag Recurse = $true } if ($ComputerName -ne "localhost" -and $ComputerName -ne ".") { $copyItemParameters.FromSession = $session } Write-Verbose -Verbose:$verboseFlag "Searching for compatible modules..." $modulesToCopy = Invoke-Command $session { Get-Module -ListAvailable -Name $using:CompatibleModules | Select-Object Name, ModuleBase } Write-Verbose -Verbose:$verboseFlag "Searching for CIM modules..." $modulesToCopy += Invoke-Command $session { Get-Module -ListAvailable | Where-Object { $_.NestedModules[0].path -match '\.cdxml$' } | Select-Object Name,ModuleBase } Write-Verbose -Verbose:$verboseFlag "Copying modules to path '$Destination'" $modulesToCopy = $modulesToCopy | Sort-Object -Unique -Property Name foreach ($m in $modulesToCopy) { # Skip modules that aren't on the named module list if (-not ($name.Where{$m.Name -like $_})) { continue } $fullDestination = Join-Path $Destination $m.name if (-not (Test-Path $fullDestination)) { Copy-Item -Path $m.ModuleBase -Destination $fullDestination @copyItemParameters } else { Write-Verbose -Verbose:$verboseFlag "Skipping module '$($m.Name)'; module directory already exists" } } } function Add-WindowsPSModulePath { [CmdletBinding(SupportsShouldProcess)] [OutputType([void])] param () if ($PSVersionTable.PSEdition -eq 'Core' -and -not $IsWindows) { throw "This cmdlet is only supported on Windows" } if ($PSVersionTable.PSEdition -eq 'Desktop') { return } [bool] $verboseFlag = $PSBoundParameters['Verbose'] $paths = @( $Env:PSModulePath -split [System.IO.Path]::PathSeparator "${Env:UserProfile}\Documents\WindowsPowerShell\Modules" "${Env:ProgramFiles}\WindowsPowerShell\Modules" "${Env:WinDir}\system32\WindowsPowerShell\v1.0\Modules" [System.Environment]::GetEnvironmentVariable('PSModulePath', [System.EnvironmentVariableTarget]::User) -split [System.IO.Path]::PathSeparator [System.Environment]::GetEnvironmentVariable('PSModulePath', [System.EnvironmentVariableTarget]::Machine) -split [System.IO.Path]::PathSeparator ) $pathTable = [ordered] @{} foreach ($path in $paths) { if ($pathTable[$path]) { continue } if ($PSCmdlet.ShouldProcess($path, "Add to PSModulePath")) { Write-Verbose -Verbose:$verboseFlag "Adding '$path' to the PSModulePath." $pathTable[$path] = $true } } $Env:PSModulePath = $pathTable.Keys -join [System.IO.Path]::PathSeparator } # SIG # Begin signature block # MIIkVgYJKoZIhvcNAQcCoIIkRzCCJEMCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDQtMeFF61nQNKp # BqLAm8eWiLEx695boA8rSj6VMUtfhKCCDYEwggX/MIID56ADAgECAhMzAAABA14l # HJkfox64AAAAAAEDMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMTgwNzEyMjAwODQ4WhcNMTkwNzI2MjAwODQ4WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQDRlHY25oarNv5p+UZ8i4hQy5Bwf7BVqSQdfjnnBZ8PrHuXss5zCvvUmyRcFrU5 # 3Rt+M2wR/Dsm85iqXVNrqsPsE7jS789Xf8xly69NLjKxVitONAeJ/mkhvT5E+94S # nYW/fHaGfXKxdpth5opkTEbOttU6jHeTd2chnLZaBl5HhvU80QnKDT3NsumhUHjR # hIjiATwi/K+WCMxdmcDt66VamJL1yEBOanOv3uN0etNfRpe84mcod5mswQ4xFo8A # DwH+S15UD8rEZT8K46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