Microsoft Virtualization Discussions

Powershell Toolkit on Mac

jhertzig81
2,878 Views

I have powershell installed on my Macbook, I was wondering if the PowerShell toolkit will work. The documentation makes no mention of Mac compatibility. I am assuming I will need to run a Windows VM of some sort. Thoughts?

4 REPLIES 4

mcgue
2,798 Views

PowerShell 7 is supported natively on Mac OS.  The newest NetApp toolkit also supports PowerShell 7 so you should be fine using that combination.  More from Microsoft here:  Installing PowerShell on macOS - PowerShell | Microsoft Docs

jhertzig81
2,758 Views

Can you confirm if the below dependency has a fix? I am unable to 'import-module dataontap' using pwsh on my Macbook. 
https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Latest-PowerShell-toolkit-will-not-import-the-module/td-p/158605

jhertzig81
2,757 Views

Import-Module DataOntap
| ~~~~~~~~~~~~~~~~~~~~~~~
| Could not load type 'System.Management.Automation.PSSnapIn' from assembly 'System.Management.Automation, Version=7.2.0.500, Culture=neutral,
| PublicKeyToken=31bf3856ad364e35'.

mcgue
2,736 Views

Which version of the toolkit are you using?

Public