79222624

Date: 2024-11-25 10:28:18
Score: 1.5
Natty:
Report link

First error: At line:1 char:61 + ... e=[datetime]"30/09/2024 12:00:00";while($true){set-date $date; start- ... + ~~~~~ + CategoryInfo : InvalidData: (:) [Set-Date], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.SetDateComm and Start-Sleep : A parameter cannot be found that matches parameter name 'ms'. Second error: At line:1 char:80 + ... 0/09/2024 12:00:00";while($true){set-date $date; start-sleep -ms 100} + ~~~ + CategoryInfo : InvalidArgument: (:) [Start-Sleep], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.StartSleepCommand Set-Date : Cannot bind argument to parameter 'Date' because it is null.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pitim