File tree Expand file tree Collapse file tree
DSCResources/MSFT_xVirtualMemory Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ function Set-TargetResource
144144 if (-not $driveInfo.IsReady )
145145 {
146146 New-InvalidOperationException `
147- - Message ($script :localizedData.DisableAutoManagePaging -f $driveInfo.Name )
147+ - Message ($script :localizedData.DriveNotReadyError -f $driveInfo.Name )
148148 }
149149
150150 $existingPageFileSetting = Get-PageFileSetting `
@@ -184,7 +184,7 @@ function Set-TargetResource
184184 if (-not $driveInfo.IsReady )
185185 {
186186 New-InvalidOperationException `
187- - Message ($script :localizedData.DisableAutoManagePaging -f $driveInfo.Name )
187+ - Message ($script :localizedData.DriveNotReadyError -f $driveInfo.Name )
188188 }
189189
190190 $existingPageFileSetting = Get-PageFileSetting `
@@ -222,7 +222,7 @@ function Set-TargetResource
222222 if (-not $driveInfo.IsReady )
223223 {
224224 New-InvalidOperationException `
225- - Message ($script :localizedData.DisableAutoManagePaging -f $driveInfo.Name )
225+ - Message ($script :localizedData.DriveNotReadyError -f $driveInfo.Name )
226226 }
227227
228228 $existingPageFileSetting = Get-PageFileSetting `
You can’t perform that action at this time.
0 commit comments