Hi,
I am trying to pull few registry value for 5k serves.with below command inside workflow:
Get-WmiObject -list -Namespace root\default | Where-Object {$_.Name -eq “StdRegProv”}
I am getting below error:
At E:\QR_Validation\Untitled4.ps1:13 char:16
- … $reg = Get-WmiObject -List -Namespace root\default -PSComputerN …
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Could not find a parameter named ‘List’. Supported parameters are: Amended, AppendOutput, Authority, Class, Debug, DirectRead, DisplayName, EnableAllPrivileges, ErrorAction, Filter, Impersonation,
InformationAction, Input, Locale, MergeErrorToOutput, Namespace, Property, PSActionRetryCount, PSActionRetryIntervalSec, PSActionRunningTimeoutSec, PSAllowRedirection, PSApplicationName, PSAuthentication,
PSAuthenticationLevel, PSCertificateThumbprint, PSCommandName, PSComputerName, PSConfigurationName, PSConnectionRetryCount, PSConnectionRetryIntervalSec, PSConnectionUri, PSCredential, PSDebug,
PSDisableSerialization, PSError, PSInformation, PSPersist, PSPort, PSProgress, PSProgressMessage, PSRemotingBehavior, PSRequiredModules, PSSessionOption, PSUseSsl, PSVerbose, PSWarning, Query, Result,
UseDefaultInput, Verbose, WarningAction.
+ CategoryInfo : ParserError: ( , ParseException
+ FullyQualifiedErrorId : CouldNotFindParameterName