Fråga efter och visa aktuella inställningar, lösenordskrav och serverroll för en server
Den här uppgiften kör kommandot NET ACCOUNTS som visar de aktuella kraven för serverlösenord och inställning samt serverrollkonfigurationen för servern.
Target | Microsoft.Windows.Server.6.2.Computer |
Accessibility | Public |
Category | Maintenance |
Enabled | True |
Remotable | False |
Timeout | 300 |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PA | ProbeAction | System.CommandExecuterProbe | Default |
<Task ID="Microsoft.Windows.Server.6.2.Computer.UserAccountSettingsQuery.Task" Target="WindowsServer!Microsoft.Windows.Server.6.2.Computer" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\NET.EXE</ApplicationName>
<WorkingDirectory/>
<CommandLine>ACCOUNTS</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>