The purpose of SuperCAT is to provide an all-in-one tool to inventory and audit offline computers without making any changes the baseline of the target machine. It is intended to run from a re-writable CD/DVD.
```
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
ScriptName : setup-powershell.ps1
Line : 68
Message : The variable 'Output' is assigned but never used.
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
ScriptName : SuperCAT.ps1
Line : 41
Message : File 'SuperCAT.ps1' uses WMI cmdlet. For PowerShell 3.0 and above,
use CIM cmdlet which perform the same tasks as the WMI cmdlets.
The CIM cmdlets comply with WS-Management (WSMan) standards and
with the Common Information Model (CIM) standard, which enables
the cmdlets to use the same techniques to manage Windows computers
and those running other operating systems.
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
ScriptName : SuperCAT.ps1
Line : 113
Message : File 'SuperCAT.ps1' uses WMI cmdlet. For PowerShell 3.0 and above,
use CIM cmdlet which perform the same tasks as the WMI cmdlets.
The CIM cmdlets comply with WS-Management (WSMan) standards and
with the Common Information Model (CIM) standard, which enables
the cmdlets to use the same techniques to manage Windows computers
and those running other operating systems.
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
ScriptName : SuperCAT.ps1
Line : 114
Message : File 'SuperCAT.ps1' uses WMI cmdlet. For PowerShell 3.0 and above,
use CIM cmdlet which perform the same tasks as the WMI cmdlets.
The CIM cmdlets comply with WS-Management (WSMan) standards and
with the Common Information Model (CIM) standard, which enables
the cmdlets to use the same techniques to manage Windows computers
and those running other operating systems.
RuleName : PSAvoidTrailingWhitespace
Severity : Information
ScriptName : export-offline-registry.ps1
Line : 8
Message : Line has trailing whitespace
RuleName : PSAvoidTrailingWhitespace
Severity : Information
ScriptName : SuperCAT.ps1
Line : 99
Message : Line has trailing whitespace
RuleName : PSAvoidTrailingWhitespace
Severity : Information
ScriptName : SuperCAT.ps1
Line : 144
Message : Line has trailing whitespace
RuleName : PSAvoidTrailingWhitespace
Severity : Information
ScriptName : SuperCAT.ps1
Line : 146
Message : Line has trailing whitespace
RuleName : PSAvoidTrailingWhitespace
Severity : Information
ScriptName : SuperCAT.ps1
Line : 148
Message : Line has trailing whitespace
RuleName : PSAvoidTrailingWhitespace
Severity : Information
ScriptName : SuperCAT.ps1
Line : 165
Message : Line has trailing whitespace
RuleName : PSAvoidTrailingWhitespace
Severity : Information
ScriptName : SuperCAT.ps1
Line : 304
Message : Line has trailing whitespace
```
PSScriptAnalyzer results:
Errors: [0], Warnings: [4], Information: [7]
``` RuleName : PSUseDeclaredVarsMoreThanAssignments Severity : Warning ScriptName : setup-powershell.ps1 Line : 68 Message : The variable 'Output' is assigned but never used. RuleName : PSAvoidUsingWMICmdlet Severity : Warning ScriptName : SuperCAT.ps1 Line : 41 Message : File 'SuperCAT.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets comply with WS-Management (WSMan) standards and with the Common Information Model (CIM) standard, which enables the cmdlets to use the same techniques to manage Windows computers and those running other operating systems. RuleName : PSAvoidUsingWMICmdlet Severity : Warning ScriptName : SuperCAT.ps1 Line : 113 Message : File 'SuperCAT.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets comply with WS-Management (WSMan) standards and with the Common Information Model (CIM) standard, which enables the cmdlets to use the same techniques to manage Windows computers and those running other operating systems. RuleName : PSAvoidUsingWMICmdlet Severity : Warning ScriptName : SuperCAT.ps1 Line : 114 Message : File 'SuperCAT.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets comply with WS-Management (WSMan) standards and with the Common Information Model (CIM) standard, which enables the cmdlets to use the same techniques to manage Windows computers and those running other operating systems. RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : export-offline-registry.ps1 Line : 8 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : SuperCAT.ps1 Line : 99 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : SuperCAT.ps1 Line : 144 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : SuperCAT.ps1 Line : 146 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : SuperCAT.ps1 Line : 148 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : SuperCAT.ps1 Line : 165 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : SuperCAT.ps1 Line : 304 Message : Line has trailing whitespace ```