@@ -529,7 +529,7 @@ function Resize-VmfsVolume {
529529
530530<#
531531 . DESCRIPTION
532- Expand existing ElasticSAN Datastore to new size.
532+ Expand existing iSCSI Datastore to new size.
533533
534534 . PARAMETER ClusterName
535535 Cluster name
@@ -538,17 +538,17 @@ function Resize-VmfsVolume {
538538 Datastore name
539539
540540 . EXAMPLE
541- Resize-ElasticSANDatastore -ClusterName "myCluster" -DatastoreName "myDatastore"
541+ Resize-iSCSIDatastore -ClusterName "myCluster" -DatastoreName "myDatastore"
542542
543543 . INPUTS
544544 vCenter cluster name and datastore name.
545545
546546 . OUTPUTS
547547 None.
548548#>
549- function Resize-ElasticSANDatastore {
549+ function Resize-iSCSIDatastore {
550550 [CmdletBinding ()]
551- [AVSAttribute (10 , UpdatesSDDC = $false , AutomationOnly = $true )]
551+ [AVSAttribute (10 , UpdatesSDDC = $false )]
552552 Param (
553553 [Parameter (
554554 Mandatory = $true ,
@@ -559,7 +559,7 @@ function Resize-ElasticSANDatastore {
559559
560560 [Parameter (
561561 Mandatory = $true ,
562- HelpMessage = ' Name of ElasticSAN datastore to be expanded in vCenter' )]
562+ HelpMessage = ' Name of iSCSI datastore to be expanded in vCenter' )]
563563 [ValidateNotNull ()]
564564 [String ]
565565 $DatastoreName
@@ -576,7 +576,7 @@ function Resize-ElasticSANDatastore {
576576 }
577577
578578 if ($Datastore.Type -ne " VMFS" ) {
579- throw " Datastore $DatastoreName is of type $ ( $Datastore.Type ) . This cmdlet can only process ElasticSAN (VMFS) datastores."
579+ throw " Datastore $DatastoreName is of type $ ( $Datastore.Type ) . This cmdlet can only process iSCSI datastores."
580580 }
581581
582582 $NaaID = [string ]$Datastore.ExtensionData.Info.Vmfs.Extent.DiskName
@@ -585,7 +585,7 @@ function Resize-ElasticSANDatastore {
585585
586586 }
587587
588- Write-Host " Resizing ElasticSAN datastore $DatastoreName ..."
588+ Write-Host " Resizing iSCSI datastore $DatastoreName ..."
589589 Resize-VmfsVolume - ClusterName $ClusterName - DeviceNaaId $NaaID
590590}
591591
0 commit comments