powershell_info
shows information about Powershell files.
cmdlets
: <list of strings> cmdlets used in the script.cmdlets_alias
: <list of strings> cmdlets alias used in the script.dotnet_calls
: <list of strings> .Net calls used in the script.functions
: <list of strings> function names defined in the script.ps_variables
: <list of strings> variables used by the script.
{
"data": {
"attributes": {
"powershell_info": {
"cmdlets": [
"<string>"
],
"cmdlets_alias": [
"<string>"
],
"dotnet_calls": [
"<string>"
],
"functions": [
"<string>"
],
"ps_variables": [
"<string>"
]
}
}
}
}
{
"data": {
"attributes": {
"powershell_info": {
"cmdlets": [
"add-type",
"get-process",
"get-wmiobject",
"new-object",
"remove-item"
],
"cmdlets_alias": [
"Sleep",
"where"
],
"dotnet_calls": [
"IO.Compression.CompressionMode",
"IO.File",
"System.Convert",
"System.Diagnostics.Process",
"System.Drawing.Graphics",
"System.Drawing.Imaging.Encoder"
],
"functions": [
"CMDOS",
"CURRENT-instance",
"CompressedByteArray",
"DecompressedByteArray",
"info",
"process-m"
],
"ps_variables": [
"$input",
"$null",
"$pid"
]
}
}
}
}