I am receiving the following errors in the error.log when using kansa. Can you help please?
Get-WMIRecentApps reports error on XXX: "Invalid namespace Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant. Cannot overwrite variable SEPARATOR because it is read-only or constant. Cannot overwrite variable EXTLENGTH because it is read-only or constant. Cannot overwrite variable MAXPATH because it is read-only or constant."
Get-Netstat reports error on XXX: "Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant. Cannot overwrite variable SEPARATOR because it is read-only or constant. Cannot overwrite variable EXTLENGTH because it is read-only or constant. Cannot overwrite variable MAXPATH because it is read-only or constant."
Get-DNSCache reports error on XXX: "Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant. Cannot overwrite variable SEPARATOR because it is read-only or constant. Cannot overwrite variable EXTLENGTH because it is read-only or constant. Cannot overwrite variable MAXPATH because it is read-only or constant."
Get-ProcsWMI reports error on XXX: "Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant. Cannot overwrite variable SEPARATOR because it is read-only or constant. Cannot overwrite variable EXTLENGTH because it is read-only or constant. Cannot overwrite variable MAXPATH because it is read-only or constant."
Exit-Script function was passed an error, this may be a duplicate that wasn't previously cleared, or Kansa.ps1 has crashed.
You cannot call a method on a null-valued expression.
Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant.
Cannot overwrite variable SEPARATOR because it is read-only or constant.
Cannot overwrite variable EXTLENGTH because it is read-only or constant.
Cannot overwrite variable MAXPATH because it is read-only or constant.
Hi,
I am receiving the following errors in the error.log when using kansa. Can you help please?
Get-WMIRecentApps reports error on XXX: "Invalid namespace Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant. Cannot overwrite variable SEPARATOR because it is read-only or constant. Cannot overwrite variable EXTLENGTH because it is read-only or constant. Cannot overwrite variable MAXPATH because it is read-only or constant." Get-Netstat reports error on XXX: "Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant. Cannot overwrite variable SEPARATOR because it is read-only or constant. Cannot overwrite variable EXTLENGTH because it is read-only or constant. Cannot overwrite variable MAXPATH because it is read-only or constant." Get-DNSCache reports error on XXX: "Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant. Cannot overwrite variable SEPARATOR because it is read-only or constant. Cannot overwrite variable EXTLENGTH because it is read-only or constant. Cannot overwrite variable MAXPATH because it is read-only or constant." Get-ProcsWMI reports error on XXX: "Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant. Cannot overwrite variable SEPARATOR because it is read-only or constant. Cannot overwrite variable EXTLENGTH because it is read-only or constant. Cannot overwrite variable MAXPATH because it is read-only or constant." Exit-Script function was passed an error, this may be a duplicate that wasn't previously cleared, or Kansa.ps1 has crashed. You cannot call a method on a null-valued expression. Cannot overwrite variable CMPNAMELENGTH because it is read-only or constant. Cannot overwrite variable SEPARATOR because it is read-only or constant. Cannot overwrite variable EXTLENGTH because it is read-only or constant. Cannot overwrite variable MAXPATH because it is read-only or constant.