Skip to content

Commit efd00f4

Browse files
committed
Revert Test-PendingRestart
1 parent 22ad4b5 commit efd00f4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/Modules/SqlServerDsc.Common/SqlServerDsc.Common.psm1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,8 @@ function Test-PendingRestart
314314
param ()
315315

316316
$getRegistryPropertyValueParameters = @{
317-
Path = 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager'
318-
Name = 'PendingFileRenameOperations'
319-
ErrorAction = 'SilentlyContinue'
317+
Path = 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager'
318+
Name = 'PendingFileRenameOperations'
320319
}
321320

322321
<#

0 commit comments

Comments
 (0)