< Back

Test-AmsiString

Fri Jan 10, 2020 8:08 pm

NAME Test-AmsiString



SYNOPSIS

Scans a string for malware.





SYNTAX

Test-AmsiString [-string] <String> [[-contentName] <String>] [[-session] <IntPtr>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-string <String>

The string to scan for malware.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-contentName <String>

The filename, URL, unique script ID, or similar of the content being scanned.



Required? false

Position? 2

Default value PowerShell

Accept pipeline input? false

Accept wildcard characters? false



-session <IntPtr>

If multiple scan requests are to be correlated within a session, set session to the value returned by

New-AmsiSession.



Required? false

Position? 3

Default value [IntPtr]::Zero

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS