dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
600 stars 278 forks source link

Powershell: Why not make this one module? #102

Closed JustinGrote closed 4 years ago

JustinGrote commented 4 years ago

Why is every command it's own separate folder and separate PSM module? Why don't you just make one module with all the cmdlets together?

texroemer commented 4 years ago

Hi @JustinGrote

I'm currently working on creating one module which will upload all cmdlets. This is part of overall change I'm working on for updating the cmdlets to support Powershell 6/7 also. I should have this module uploaded soon to GitHub, hopefully completed next month.

Thanks

texroemer commented 4 years ago

I created a Powershell script (create_dir_structure_download_iDRAC_Redfish_cmdlets.ps1) which automates creating OS user directory structure and downloading Dell Redfish cmdlets from GitHub. Once they are downloaded, launch or reload Powershell session and cmdlets are ready to use, no longer need to manually import them.

See get-help and -examples for how to execute the script.