Dell.PowerStore.psm1
# Copyright © 2020 Dell Inc. or its subsidiaries. All Rights Reserved. Set-StrictMode -Version Latest $binaryModuleFileName = 'Dell.PowerStore.PowerShell.dll' $PSModule = $ExecutionContext.SessionState.Module $PSModuleRoot = $PSModule.ModuleBase $binaryModuleRoot = $PSModuleRoot $binaryModulePath = Join-Path -Path $binaryModuleRoot -ChildPath $binaryModuleFileName $binaryModule = Import-Module -Name $binaryModulePath -DisableNameChecking -PassThru $PSModule.OnRemove = { Remove-Module -ModuleInfo $binaryModule } Write-Host '' Write-Host ' PowerShell Module for Dell EMC PowerStore ' Write-Host '' Write-Host ' To find out what commands are available: ' -NoNewline Write-Host 'Get-Command -Module Dell.PowerStore' -ForegroundColor yellow Write-Host ' To get help for a specific command: ' -NoNewLine Write-Host 'Get-Help ' -NoNewLine -ForegroundColor yellow Write-Host '[verb]' -NoNewLine -ForegroundColor green Write-Host '-' -NoNewLine -ForegroundColor yellow Write-Host '[noun]' -ForegroundColor green Write-Host ' To get extended help for a specific command: ' -NoNewLine Write-Host 'Get-Help ' -NoNewLine -ForegroundColor yellow Write-Host '[verb]' -NoNewLine -ForegroundColor green Write-Host '-' -NoNewLine -ForegroundColor yellow Write-Host '[noun]' -NoNewLine -ForegroundColor green Write-Host ' -full' -ForegroundColor yellow Write-Host '' Write-Host ' All commands require that you first connect to a cluster and save the output:' Write-Host ' $cluster = Connect-Cluster -HostName <address> <credential> [options]' -ForegroundColor yellow Write-Host '' Write-Host '' |