Sign inSign up

gprakosa/svtpwsh

By gprakosa

Updated over 3 years ago

Image
0

156

gprakosa/svtpwsh repository overview

Docker Image based on atkinsroy's Github Repository for HPE SimpliVIty (all credits belong to him).

Run

Docker
docker run --name svtpwsh \
-e VIRTUAL_APPLIANCE="<va-ip-address>" \
-e VA_USERNAME="<va-username>" \
-e VA_PASSWORD="<va-password>" \
--rm gprakosa/svtpwsh:v1.0 Get-SvtCluster
docker run --name svtpwsh \
-e VIRTUAL_APPLIANCE="<va-ip-address>" \
-e VA_USERNAME="<va-username>" \
-e VA_PASSWORD="<va-password>" \
--rm gprakosa/svtpwsh:v1.0 \
"Get-SvtHost | Format-Table -Property \
   HostName,\
   DataCenterName,\
   ClusterName,\
   FreeSpaceGB,\
   ManagementIP,\
   StorageIP,\
   FederationIP \
-Wrap -Autosize | Out-String -Width 4096"
docker run --name svtpwsh \
-e VIRTUAL_APPLIANCE="<va-ip-address>" \
-e VA_USERNAME="<va-username>" \
-e VA_PASSWORD="<va-password>" \
-v /usr/share/zoneinfo/Asia/Singapore:/etc/localtime \
--rm gprakosa/svtpwsh:v1.0 \
"Get-SvtBackup -CreatedAfter $(date +%x) |\
Sort-Object -Property SizeGB -Descending |\
Format-Table -Property \
  VmName, \
  ClusterName, \
  DatastoreName, \
  VmState, \
  BackupType, \
  CreateDate, \
  AppConsistent, \
  SentMB, \
  SizeGB, \
  SentDuration, \
  BackupState, \
  ExpiryDate, \
  ExternalStoreName, \
  DestinationName \
-Wrap -Autosize | Out-String -Width 4096"

Parameters

ParameterDescriptionVariableRequiredDefault Value
Virtual ApplianceIP or FQDN of an SVA or MVAVIRTUAL_APPLIANCEYes-
UsernameUsername for the SimpliVity federationVA_USERNAMEYes-
PasswordPassword for the SimpliVity federationVA_PASSWORDYes-

Tag summary

Content type

Image

Digest

sha256:2f92185f8

Size

92.3 MB

Last updated

over 3 years ago

docker pull gprakosa/svtpwsh:v1.0