PS C:\Windows\system32> Repair-WindowsImage -Online -RestoreHealth -LogLevel 4
Repair-WindowsImage : Cannot bind parameter 'LogLevel'. Cannot convert value "4" to type "Microsoft.Dism.Commands.LogLevel" due to enumeration values that are
not valid. Specify one of the following enumeration values and try again. The possible enumeration values are "Errors, Warnings, WarningsInfo".
At line:1 char:54
+ Repair-WindowsImage -Online -RestoreHealth -LogLevel 4
+ ~
+ CategoryInfo : InvalidArgument: (:) [Repair-WindowsImage], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Dism.Commands.RepairWindowsImageCommand
PS C:\Windows\system32>