In raw 158 I getting error regarding command Get-CimInstance not recognized in Windows 11 and the error is: "New-ScheduledTaskPrincipal : Cannot validate argument on parameter 'UserId'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again."
In raw 158 I getting error regarding command Get-CimInstance not recognized in Windows 11 and the error is: "New-ScheduledTaskPrincipal : Cannot validate argument on parameter 'UserId'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again."