Oct 18 2022 09:52 AM
I'm trying to use powershell 7 to create a new local user on my computer and I always get an error message.
PowerShell 7.2.6
Copyright (c) Microsoft Corporation.
https://aka.ms/powershell
Type 'help' to get help.
PS C:\Windows\System32> new-localuser -name 'bob'
cmdlet New-LocalUser at command pipeline position 1
Supply values for the following parameters:
Password:
New-LocalUser: Could not load type 'Microsoft.PowerShell.Telemetry.Internal.TelemetryAPI' from assembly 'System.Management.Automation, Version=7.2.6.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
PS C:\Windows\System32>
Oct 24 2022 07:16 AM
Nov 14 2022 01:29 PM - edited Nov 29 2022 05:05 AM
Any update? Did this work out for you ?