Skip to content

BrucePay/WindowsCompatibility

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows PowerShell Compatibility

This module provides PowerShell Core 6 compatibility with existing Windows PowerShell scripts and modules by:

  • Enable adding the Windows PowerShell PSModulePath
    • Note that some Windows PowerShell modules (like CDXML based) will work fine with PowerShell Core 6, but others may not be fully compatible
  • Enable using implicit remoting to utilize Windows PowerShell cmdlets from PowerShell Core 6 for modules that are not compatible directly

Installation

The WindowsCompatibility Module is available in the PowerShell Gallery. To install the module, run the following from PowerShell:

Install-Module WindowsCompatibility -Scope CurrentUser

Quick Start

Viewing the local computer's Event Log from PowerShell Core:

Import-WinModule Microsoft.PowerShell.Management
Get-EventLog -Newest 5 -LogName "Application"

View the Event Log on a remote computer from PowerShell Core:

$Credential = Get-Credential
Initialize-WinSession -ComputerName SQLSERVER01 -Credential $Credential
Import-WinModule Microsoft.PowerShell.Management
Get-EventLog -Newest 5 -LogName "Application"

View more in the Quick Start Guide.

Documentation

The project documentation is located in the docs directory.

Maintainers

About

Module to add additional .Net classes and PowerShell Modules to PSCore6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%