|
| 1 | +OnCommand-Insight |
| 2 | +================= |
| 3 | + |
| 4 | +OnCommand-Insight PowerShell Module |
| 5 | + |
| 6 | +Installation |
| 7 | +------------ |
| 8 | + |
| 9 | +Extract OnCommand-Insight.zip either to your preferred PowerShell Module location (e.g. `$HOME\WindowsPowershell\Documents\WindowsPowerShell\Modules` or `C:\Windows\System32\WindowsPowerShell\v1.0\Modules`). |
| 10 | + |
| 11 | +Usage |
| 12 | +----- |
| 13 | + |
| 14 | +Check if OnCommand-Insight Module can be found by PowerShell |
| 15 | + |
| 16 | + Get-Module -ListAvailable OnCommand-Insight |
| 17 | + |
| 18 | +Import PowerShell Module |
| 19 | + |
| 20 | + Import-Module OnCommand-Insight |
| 21 | + |
| 22 | +List all Cmdlets included in the OnCommand-Insight Module |
| 23 | + |
| 24 | + Get-Command -Module OnCommand-Insight |
| 25 | + |
| 26 | +Show help for Cmdlet to connect to OnCommand-Insight Server |
| 27 | + |
| 28 | + Get-Help Connect-OciServer -Detailed |
| 29 | + |
| 30 | +Connect to OnCommand Insight Server using the `-Insecure` Switch to skip checking the certificate of the server |
| 31 | + |
| 32 | + $Credential = Get-Credential |
| 33 | + Connect-OciServer -Name myserver.mydomain.tld -Credential $Credential -Insecure |
| 34 | + |
| 35 | +List all Storage Arrays |
| 36 | + |
| 37 | + Get-OciStorageArrays |
| 38 | + |
| 39 | +Trusting the Publisher of the OnCommand Insight Cmdlets |
| 40 | +------------------------------------------------------- |
| 41 | + |
| 42 | +This PowerShell Module is signed with a code signing certificate issued by the *NetApp Corp Issuing CA 1*. If the PowerShell execution policy requires powershell scripts to be signed (see [about_Execution_Policies](technet.microsoft.com/library/hh847748.aspx) for details), two steps are required to run this PowerShell Module |
| 43 | + |
| 44 | +1. Trust the NetApp Root Certification Authority. This can be done with the following command executed in PowerShell `Start-Process powershell -Verb RunAs -ArgumentList '-nologo -command (New-Object System.Net.WebClient).DownloadFile(\"http://pki2.netapp.com/pki/NetApp%20Corp%20Root%20CA.crt\",\"$env:TEMP\netapp.crt\");certutil -addstore root $env:TEMP\netapp.crt;rm $env:TEMP\netapp.cr*;PAUSE'` or manually via the following steps: |
| 45 | + 1. downloading the NetApp Root CA certificate from (http://pki1.netapp.com/pki/NetApp%20Corp%20Root%20CA.crt) |
| 46 | + 2. double click on the downloaded file |
| 47 | + 3. click on *Install Certificate...* |
| 48 | + 4. click on *Next >* |
| 49 | + 5. Select *Place all certificates in the following store* |
| 50 | + 6. Click *Browse* |
| 51 | + 7. Select *Trusted Root Certification Authorities* |
| 52 | + 8. Click *OK* |
| 53 | + 9. Click *Next >* |
| 54 | + 10. Click Finish |
| 55 | + 11. A *Security Warning* will be displayed. Click *Yes* to install the certificate. The *Thumbprint (sha1)* should be **9FFB6F1A 06BC0245 27368705 2E7309D3 6FF2CFD0** |
| 56 | + 12. Click twice on *OK* to close the dialogs. |
| 57 | +2. When importing the PowerShell module via `Import-Module OnCommand-Insigh` a dialog is displayed asking if the publisher *CN=florianf-Florian-Feldhaus, OU=Users, OU=EMEA, OU=Sites, DC=hq, DC=netapp, DC=com* should be trusted. Select *[A] Always run* to permanently trust this publisher. |
| 58 | + |
| 59 | + |
| 60 | +Changelog |
| 61 | +--------- |
| 62 | + |
| 63 | +### Version 0.3 |
| 64 | + |
| 65 | +* Module is now signed |
| 66 | +* added instructions to trust the publisher of the Module |
| 67 | +* added ability for most cmdlets to accept pipeline input |
| 68 | +* streamlined usage of the parameter ID. All cmdlets accepting ID parameters now have named parameters like VolumeID or HostID and ID is an alias to these parameters (e.g. ID always works). |
| 69 | +* added formatting of OCI types |
| 70 | + |
| 71 | +### Version 0.2 |
| 72 | + |
| 73 | +* improved Help and added Parameter Help |
| 74 | +* solved Namespace issues when changing server and introduced OCI namespace |
| 75 | +* improved build process |
| 76 | + |
| 77 | +### Version 0.1 |
| 78 | + |
| 79 | +* First internal release with all Cmdlets implemented |
0 commit comments