[BUG] PowerShell Core Support
- Dominant language
- PowerShell
- Stars
- 118
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
**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.

**Environment (please complete the following information):**
- OS: Windows PowerShell 7.1.3 or MacOS PowerShell 7.1.3
- AKS-HCI Version (i.e. Public Preview March 2021)
**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
Contributor guide
Assessment
This issue has not been assessed yet.