Skip to content

Commit 60cd0e0

Browse files
authored
Merge pull request #773 from Azure/issue769
Issue 769
2 parents 81a169c + 1c01933 commit 60cd0e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workload/scripts/Set-SessionHostConfiguration.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Param(
3232
$NvidiaVmSize,
3333

3434
[parameter(Mandatory)]
35-
[boolean]
35+
[string]
3636
$ExtendOsDisk
3737

3838
# [parameter(Mandatory)]
@@ -437,7 +437,7 @@ try {
437437

438438
# Resize OS Disk
439439

440-
if ($ExtendOsDisk -eq $true) {
440+
if ($ExtendOsDisk -eq 'true') {
441441
Write-Log -message "Resizing OS Disk"
442442
$driveLetter = $env:SystemDrive.Substring(0, 1)
443443
$size = Get-PartitionSupportedSize -DriveLetter $driveLetter

0 commit comments

Comments
 (0)