Describes how and where this command was invoked
public class InvocationInfo
This member provides a dictionary of the parameters that were bound for this script or command.
This property tells you if you were being invoked inside the runspace or if it was an external request.
The position for the invocation or error.
Is true if this command is expecting input...
History ID that represents the command. If unavailable, this will be -1.
Command name used to invoke this string - if invoked through an alias, then this would be the alias name.
The text of the line that contained this cmdlet invocation.
Provide basic information about the command
Command's character offset in that line. If the command was executed directly through the host interfaces, this will be -1.
How many elements are in the containing pipeline
which element this command was in the containing pipeline
Formatted message indicating where the cmdlet appeared in the line
This property tells you the full path to the command from where you were being invoked
This property tells you the directory from where you were being invoked
The line number in the executing script that contained this cmdlet.
The name of the script containing the cmdlet.
This member provides a list of the arguments that were not bound to any parameter