Skip to content

Commit 84cadf9

Browse files
rootroot
authored andcommitted
added comment fixes
1 parent c80c4b5 commit 84cadf9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Microsoft.AVS.VMFS/Microsoft.AVS.VMFS.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"Set-VmfsStaticIscsi",
7373
"New-VmfsDatastore",
7474
"Dismount-VmfsDatastore",
75-
"Resize-ElasticSANDatastore",
75+
"Resize-iSCSIDatastore",
7676
"Resize-VmfsVolume",
7777
"Restore-VmfsVolume",
7878
"Sync-VMHostStorage",

Microsoft.AVS.VMFS/Microsoft.AVS.VMFS.psm1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)