ErrorCategoryInfo Class
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
Windows PowerShell displays error information when the $ErrorView variable is set to "CategoryView". The category view string contains the following information.
{Category}: ({TargetName}:{TargetType}):[{Activity}], {Reason}
Where:
CategoryWindows PowerShell defined ErrorCategory constant used to display errors by their cause.
Target nameThe name of the target object that was being processed when the error occurred (default) or some other cmdlet-defined string.
Target nameThe name of the target object that was being processed when the error occurred (default) or some other cmdlet-defined string.
Target typeThe .NET Framework type of the target object (default) or some other cmdlet-defined string.
ActivityThe name of the cmdlet that created the error record (default) or some other cmdlet-defined string.
ReasonThe exception type (default) or some other cmdlet-defined string.
For more information about the error category information of an error record, see Windows PowerShell Error Records.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewSend comments about this topic to Microsoft.