Forefront Protection 2010 for SharePoint 엔진 버전 가져오기

Microsoft.ForefrontProtection.FPSP.Task.GetEngineVersions (Task)

모든 Microsoft Forefront Protection 2010 for SharePoint 엔진의 버전을 검색합니다.

Element properties:

TargetMicrosoft.ForefrontProtection.FPSP.Server
AccessibilityPublic
CategoryCustom
EnabledTrue
RemotableFalse
Timeout600

Member Modules:

ID Module Type TypeId RunAs 
PA WriteAction System.CommandExecuter Default

Source Code:

<Task ID="Microsoft.ForefrontProtection.FPSP.Task.GetEngineVersions" Accessibility="Public" Enabled="true" Target="Microsoft.ForefrontProtection.FPSP.Server" Timeout="600" Remotable="true">
<Category>Custom</Category>
<WriteAction ID="PA" TypeID="System!System.CommandExecuter">
<ApplicationName>%windir%\system32\windowspowershell\v1.0\powershell.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>-Command "&amp; '$File/GetEngineVersions.ps1$'"</CommandLine>
<TimeoutSeconds>600</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files>
<File>
<Name>GetEngineVersions.ps1</Name>
<Contents><Script>
#
# Widen screen to avoid certain output with bunch of columns are wider than screen actual size
#
function WidenScreen
{
$pshost = get-host
$pswindow = $pshost.ui.rawui

$newsize = $pswindow.buffersize
$newsize.height = 3000
$newsize.width = 128
$pswindow.buffersize = $newsize

$newsize = $pswindow.windowsize
$newsize.height = 50
$newsize.width = 128
$pswindow.windowsize = $newsize
}
WidenScreen

$SnapinMsg = Add-PsSnapin FSSPSSnapin 2&gt;&amp;1
if($SnapinMsg -eq $null)
{
Get-FsspSignatureUpdate
}
else
{
write-host Fail to load FSSPSSnapin.
}</Script></Contents>
<Unicode>true</Unicode>
</File>
</Files>
</WriteAction>
</Task>