Azure-Samples / azure-files-samples

This repository contains supporting code (PowerShell modules/scripts, ARM templates, etc.) for deploying, configuring, and using Azure Files.
https://docs.microsoft.com/azure/storage/files/storage-files-introduction
MIT License
226 stars 192 forks source link

Get-WmiObject is not recognized as a name of cmdlet, function, script file, or executable program. #207

Open Dekard opened 5 months ago

Dekard commented 5 months ago

When running in PowerShell where WMI is deprecated the script fails. on line 1215.