Forefront Protection 2010 for SharePoint 엔진 버전 가져오기
Microsoft.ForefrontProtection.FPSP.Task.GetEngineVersions (Task)
모든 Microsoft Forefront Protection 2010 for SharePoint 엔진의 버전을 검색합니다.
Element properties:
Member Modules:
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 "& '$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>&1
if($SnapinMsg -eq $null)
{
Get-FsspSignatureUpdate
}
else
{
write-host Fail to load FSSPSSnapin.
}</Script></Contents>
<Unicode>true</Unicode>
</File>
</Files>
</WriteAction>
</Task>