Iniciar Serviço Server
Microsoft.Windows.FileServices.SMB.6.3.ServerStart (Task)
Inicia o serviço Server executando o comando "sc start server".
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.FileServices.SMB.6.3.ServerStart" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServices.Service.SMB.6.3" Timeout="300" Remotable="true">
<Category>Operations</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%SystemRoot%\System32\net.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$ start lanmanserver</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</ProbeAction>
</Task>