You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`).
9
+
Extract S3-Mgmt.zip either to your preferred PowerShell Module location (e.g. `$HOME\WindowsPowershell\Documents\WindowsPowerShell\Modules` or `C:\Windows\System32\WindowsPowerShell\v1.0\Modules`).
10
10
11
11
Usage
12
12
-----
13
13
14
-
Check if OnCommand-Insight Module can be found by PowerShell
14
+
Check if S3-Mgmt Module can be found by PowerShell
15
15
16
-
Get-Module -ListAvailable OnCommand-Insight
16
+
Get-Module -ListAvailable S3-Mgmt
17
17
18
18
Import PowerShell Module
19
19
20
-
Import-Module OnCommand-Insight
20
+
Import-Module S3-Mgmt
21
21
22
-
List all Cmdlets included in the OnCommand-Insight Module
22
+
List all Cmdlets included in the S3-Mgmt Module
23
23
24
-
Get-Command -Module OnCommand-Insight
24
+
Get-Command -Module S3-Mgmt
25
25
26
-
Show help for Cmdlet to connect to OnCommand-Insight Server
26
+
Show help for Cmdlet to connect to StorageGRID Management Server
27
27
28
-
Get-Help Connect-OciServer -Detailed
28
+
Get-Help Connect-S3MgmtServer -Detailed
29
29
30
-
Connect to OnCommand Insight Server using the `-Insecure`Switch to skip checking the certificate of the server
30
+
Connect to StorageGRID Management Server (use the `-Insecure`switch to skip checking the certificate of the server)
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
@@ -54,26 +58,4 @@ This PowerShell Module is signed with a code signing certificate issued by the *
54
58
10. Click Finish
55
59
11. A *Security Warning* will be displayed. Click *Yes* to install the certificate. The *Thumbprint (sha1)* should be **9FFB6F1A 06BC0245 27368705 2E7309D3 6FF2CFD0**
56
60
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
61
+
2. When importing the PowerShell module via `Import-Module S3-Mgmt` 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.
This tutorial will give an introduction to the StorageGRID S3 Management PowerShell Cmdlets
4
+
5
+
## Discovering the available Cmdlets
6
+
7
+
Load the S3-Mgmt Module
8
+
9
+
```powershell
10
+
Import-Module S3-Mgmt
11
+
```
12
+
13
+
Show all available Cmdlets from the S3-Mgmt Module
14
+
15
+
```powershell
16
+
Get-Command -Module S3-Mgmt
17
+
```
18
+
19
+
Show the syntax of all Cmdlets from the S3-Mgmt Module
20
+
21
+
```powershell
22
+
Get-Command -Module S3-Mgmt
23
+
```
24
+
25
+
To get detailed help including examples for a specific Cmdlet (e.g. for Connect-S3MgmtServer) run
26
+
27
+
```powershell
28
+
Get-Help Connect-S3MgmtServer -Detailed
29
+
```
30
+
31
+
## Connecting to a StorageGRID Management Server
32
+
33
+
For data retrieval a connection to the StorageGRID Management Server is required. The Connect-S3MgmtServer Cmdlet expects the hostname or IP and the credentials for authentication
If the login fails, it is often due to an untrusted certificate of the StorageGRID Management Server. You can ignore the certificate check with the `-Insecure` option
0 commit comments