ErrLookup › PowerShell/PowerShell
PowerShell/PowerShell
PowerShell for every system! · C# · 1,181 source files
Analyzed at 3ff3c711bf on 2026-08-13. 101 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Unable to resolve the parameter set name. | exception | error | cim, powershell, parameter-set, argument-binding |
| Can not find method '{0}' in class '{1}'. | validation | error | cim, powershell, method-invocation, invalid-name |
| Can not find Parameter '{0}' in method '{1}' of class '{2}'. | validation | error | cim, powershell, method-invocation, invalid-argument |
| CimSession proxy object already have operation in progress. | exception | error | cim, powershell, concurrency, session-state |
| {argumentName} | validation | error | cim, powershell, argument-validation, null-argument |
| Argument '{0}' contains characters that are not allowed in p | validation | error | cim, powershell, argument-validation, invalid-name, dmtf |
| Provider name must be specified. | exception | error | windows, powershell, etw, winevent, missing-argument |
| Could not retrieve information about the {0} provider. Error | exception | error | windows, powershell, etw, winevent, provider-metadata |
| No provider found with name {0}. | exception | error | windows, powershell, etw, winevent, provider-not-found |
| Event cannot be written because there are no events defined | exception | error | windows, powershell, etw, winevent, invalid-event-id |
| Event cannot be written because the specified version {0} fo | exception | error | windows, powershell, etw, winevent, invalid-version |
| Event cannot be written because multiple events with id {0} | exception | error | windows, powershell, etw, winevent, ambiguity |
| A valid Event Id must be specified. | exception | error | windows, powershell, etw, winevent, missing-argument |
| CIM cmdlets do not support the {0} parameter together with t | exception | error | cim, powershell, asjob, shouldprocess, parameter-conflict |
| Cannot convert the "{0}" value of type "{1}" to type "{2}". | exception | error | cim, powershell, type-conversion, invalid-cast |
| The parameter NotePropertyName cannot take values that could | validation | error | powershell, add-member, noteproperty, validation |
| 'maxValue' must be greater than zero. | validation | error | powershell, get-random, argument-out-of-range, validation |
| 'minValue' cannot be greater than maxValue. | validation | error | random, argument-validation, get-random |
| Files cannot be loaded because running scripts is disabled o | exception | error | execution-policy, implicit-remoting, signing, export-pssession |
| The file {0} could not be signed. | exception | error | signing, implicit-remoting, certificate, export-pssession |
InvalidCastFromAnyTypeToString Cannot convert value to type System.String. | exception | error | join-string, type-conversion, cast |
ExpandPropertyNotFound Property "{0}" cannot be found. | exception | error | select-object, expand-property, property-access |
MutlipleExpandProperties Multiple properties cannot be expanded. | exception | error | select-object, expand-property, property-access, ambiguity |
| URI scheme '{0}' is not supported. Only HTTP(S) and local fi | exception | error | test-json, uri, schema, validation |
| Updating format data is not allowed in this runspace. The 'D | exception | error | update-formatdata, update-typedata, runspace, session-state |
| Unable to retrieve certificates because the thumbprint is no | exception | error | invoke-webrequest, certificate, x509, thumbprint |
| Access to the path '{0}' is denied. | exception | error | invoke-webrequest, in-file, access-denied, file-io |
| Unknown JsonDateKind value requested '{jsonDateKind}' | exception | error | convertfrom-json, json, enum, date-handling |
| Conversion from JSON failed with error: {0} | exception | error | convertfrom-json, json, parse-error, deserialization |
| The request was canceled due to the configured OperationTime | exception | warning | invoke-webrequest, timeout, streaming, http |
| The request was canceled due to the configured OperationTime | exception | warning | invoke-webrequest, timeout, streaming, download |
| This instance has already been used. Create a new instance. | exception | error | console-host, startup, api-misuse, single-use |
| The shell cannot be started. An InitialSessionState object h | exception | critical | console-host, startup, configuration, session-state, conflict |
| PushRunspace can only push a remote runspace. | exception | error | console-host, runspace, remote, api-misuse, type-check |
| The shell cannot be started. A failure occurred during initi | exception | critical | console-host, startup, configuration, session-config, pssc |
| The method or operation is not implemented. | exception | error | raw-ui, not-implemented, host, buffer |
| This readline state is unsupported in portable code! | exception | error | platform, unix, readline, cross-platform, tab-completion |
| Non negative number is required. | validation | error | etw, eventing, argument-validation, descriptor |
| The ID parameter must be in the range {0} through {1}. | validation | error | etw, eventing, argument-validation, descriptor |
| The total number of parameters must not exceed {0}. | validation | error | etw, eventing, payload-limits, arguments |
| The number of String parameters must not exceed {0}. | validation | error | etw, eventing, payload-limits, strings |
| Delimiter cannot be an empty string. | validation | error | etw, tracing, argument-validation, delimiter, trace-listener |
| {Win32Exception(errorCode).Message} | exception | error | event-log, win32, reader, eventing-reader, mapping |
| {pwshPath} | exception | critical | powershell, global-tool, deployment, dotnet |
| {Win32Exception((int)rs).Message} | exception | error | acl, win32, windows, central-access-policy, security |
| {Win32Exception(Marshal.GetLastWin32Error()).Message} | exception | error | acl, win32, windows, central-access-policy, sid, data-integrity |
| Central Access Policy identifier or name is not valid. If sp | exception | error | acl, win32, windows, central-access-policy, validation, argument |
| {Win32Exception(Marshal.GetLastWin32Error()).Message} | exception | error | win32, security, certificate, x509, cert-store, native-interop |
| {Win32Exception(stat).Message} | exception | error | win32, security, certificate, crypto, error-handling, remoting |
| {Win32Exception(error).Message} | exception | error | win32, security, certificate, x509, property, trusted-issuer, native-interop |
| This command cannot be used because Parameter Value is not s | exception | error | wsman, config-provider, validation, set-item, argument-exception |
| This command cannot be used because root path does not exist | exception | error | wsman, config-provider, validation, new-item, path, argument-exception |
| InvalidPath | exception | error | wsman, config-provider, validation, get-item, path, invalid-operation |
| Specified method is not supported. | exception | error | wsman, config-provider, not-supported, listener, winrm, unimplemented |
| The {0} parameter cannot be used when the {1} parameter valu | exception | error | credssp, wsman, parameter-validation, security, windows |
| The {0} parameter is mandatory when the {1} parameter value | exception | error | credssp, wsman, parameter-validation, mandatory-parameter, security |
| Node is not present in the XML, Please give valid XPath | exception | error | wsman, xpath, xml, configuration, node-not-found |
| Access is denied. You need to run this cmdlet from an elevat | exception | critical | wsman, elevation, administrator, permissions, windows, uac |
| This command cannot be used because file does not exist.Chec | exception | error | wsman, file-not-found, io, path, argument-exception |
| This command cannot be used because the parameter does not m | exception | error | wsman, valueset, resource-uri, xml, property-mismatch, xpath |
| This command cannot be used because the parameter matches mu | exception | error | wsman, valueset, resource-uri, xml, ambiguity, xpath |
| This command cannot be used because the parameter matches a | exception | error | wsman, valueset, xml, property-type, complex-type |
| A {0} cannot be specified when {1} is specified. | exception | error | wsman, authentication, ambiguity, security, certificate, credential |
| Specified method is not supported. | exception | error | coreclr, unix, linux, platform, not-supported, cross-platform, special-folder |
| IsLastTransactionCommitted | exception | error | coreclr, transaction, not-implemented, stub, platform, windows-only |
| IsLastTransactionRolledBack | exception | error | coreclr, transaction, not-implemented, stub, platform, windows-only |
| RollbackPreference | exception | error | coreclr, transaction, not-implemented, stub, platform, rollback |
| Rollback | exception | error | coreclr, transaction, not-implemented, stub, platform, rollback |
| SetValue(string name, obj value) is not implemented. Transac | exception | error | coreclr, registry, transaction, not-implemented, stub, platform, windows-only |
| SetValue(string name, obj value, RegistryValueKind valueKind | exception | error | coreclr, registry, transaction, not-implemented, stub, platform, registry-value-kind |
| GetValueNames() is not implemented. TransactedRegistry relat | exception | error | coreclr, registry, transaction, not-implemented, stub, platform, enumeration |
| DeleteValue(string name) is not implemented. TransactedRegis | exception | error | registry, transactions, coreclr, platform, not-implemented |
| GetSubKeyNames() is not implemented. TransactedRegistry rela | exception | error | registry, transactions, coreclr, platform, not-implemented |
| CreateSubKey(string subkey) is not implemented. TransactedRe | exception | error | registry, transactions, coreclr, platform, not-implemented |
| OpenSubKey(string name, bool writeable) is not implemented. | exception | error | registry, transactions, coreclr, platform, not-implemented |
| DeleteSubKeyTree(string subkey) is not implemented. Transact | exception | error | registry, transactions, coreclr, platform, not-implemented |
| GetValue(string name) is not implemented. TransactedRegistry | exception | error | registry, transactions, coreclr, platform, not-implemented |
| GetValue(string name, object defaultValue, RegistryValueOpti | exception | error | registry, transactions, coreclr, platform, not-implemented |
| GetValueKind(string name) is not implemented. TransactedRegi | exception | error | registry, transactions, coreclr, platform, not-implemented |
| Close() is not implemented. TransactedRegistry related APIs | exception | error | registry, transactions, coreclr, platform, not-implemented |
| SetAccessControl(ObjectSecurity securityDescriptor) is not i | exception | error | registry, transactions, coreclr, platform, acl, not-implemented |
| GetAccessControl(AccessControlSections includeSections) is n | exception | error | registry, transactions, coreclr, platform, acl, not-implemented |
| Unable to find DSC schema store at {dscConfigurationDirector | exception | error | dsc, linux, omi, filesystem, configuration, environment |
| schemaValidationOption | validation | error | dsc, mof, validation, argument, enum |
| The '{0}' property with type '{1}' of DSC resource class '{2 | exception | error | dsc, mof, schema, types, dsc-resource |
| The DSC resource '{0}' has no default constructor. | exception | error | dsc, mof, schema, reflection, constructor, dsc-resource |
| Errors occurred while loading the FormatTable. View the cont | exception | error | formatting, xml, format-ps1xml, loading, display-database |
| The MaxWidth for the Progress rendering must be at least 18 | validation | error | psstyle, progress, rendering, configuration, validation |
| When adding or removing extensions, the extension must start | validation | error | psstyle, file-extension, validation, configuration |
| The specified string contains printable content when it shou | validation | error | ansi, psstyle, rendering, configuration, powershell |
| Only 'ANSI' or 'PlainText' is supported for this method. | validation | error | ansi, rendering, stringdecorated, output-rendering, powershell |
| {0} {1} | exception | error | cdxml, cmdletization, xml, deserialization, cim, powershell |
| Cannot process the ObjectModelWrapper attribute. The {0} typ | exception | error | cdxml, cmdletization, objectmodelwrapper, generics, cim, powershell |
| Cannot process the ObjectModelWrapper attribute. The {0} typ | exception | error | cdxml, cmdletization, objectmodelwrapper, inheritance, cim, powershell |
| Cannot process the ObjectModelWrapper attribute. The {0} typ | exception | error | cdxml, cmdletization, objectmodelwrapper, parameter-metadata, pipeline, powershell |
| Cannot process the ObjectModelWrapper attribute. The {0} typ | exception | error | cdxml, cmdletization, objectmodelwrapper, parameter-sets, powershell |
| The {0} cmdlet defines the {1} parameter set more than once. | exception | error | cdxml, cmdletization, parameter-sets, static-cmdlet, duplicate, powershell |
| Cannot define the {0} parameter for the {1} cmdlet. The par | exception | error | cdxml, cmdletization, parameter-conflict, common-parameters, powershell |
| Cannot define the {0} parameter for the {1} cmdlet. The para | exception | error | cdxml, cmdletization, parameter-conflict, query-parameters, duplicate, powershell |
| Two cmdlet parameters defined within the {0} element have th | exception | error | cdxml, cmdletization, duplicate, parameter-name, static-cmdlet, powershell |
| Cannot process the <Enum EnumName="{0}" ...> element. {1} | exception | error | cdxml, cmdletization, enum, compilation, reflection-emit, powershell |