Azure / aksArc

# Welcome to the Azure Kubernetes Service on Azure Stack HCI repo This is where the AKS-HCI team will track features and issues with AKS-HCI. We will monitor this repo in order to engage with our community and discuss questions, customer scenarios, or feature requests. Checkout our projects tab to see the roadmap for AKS-HCI!
MIT License
109 stars 45 forks source link

[BUG] PowerShell Core Support #86

Open MFleming-DMRC opened 3 years ago

MFleming-DMRC commented 3 years ago

Describe the bug When attempting to use the AKSHCI PowerShell module in PowerShell Core on Windows or MacOS the module fails to load.

To Reproduce Steps to reproduce the behavior:

  1. Open PowerShell Core on Windows or MacOS
  2. Import-Module AKSHCI

Import-Module akshci Import-Module: The term 'New-EventLog' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Expected behavior Module will import successfully.

Screenshots If applicable, add screenshots to help explain your problem. image

Environment (please complete the following information):

Additional context Issue occurs as well if you connect to server using PS 7.1.3 remotely using enter-psssesion to remote PS Core based server. Module works as expected using PS 5.1

dineshgovindasamy commented 3 years ago

AKSHCI doesnt work for Powershell core as it has dependency on windows specific libraries. changed it to Enhancement,.