RDS Users fixes
This commit is contained in:
parent
2b51465900
commit
7a4301fbea
5 changed files with 69 additions and 17 deletions
|
@ -3100,13 +3100,21 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
|
|||
|
||||
private string GetRdsServerStatus (Runspace runspace, string serverName)
|
||||
{
|
||||
Log.WriteWarning(string.Format("CheckServerAvailability started"));
|
||||
|
||||
if (CheckServerAvailability(serverName))
|
||||
{
|
||||
{
|
||||
Log.WriteWarning(string.Format("Pending reboot check started"));
|
||||
|
||||
if (CheckPendingReboot(runspace, serverName))
|
||||
{
|
||||
Log.WriteWarning(string.Format("Pending reboot check finished"));
|
||||
|
||||
return "Online - Pending Reboot";
|
||||
}
|
||||
|
||||
Log.WriteWarning(string.Format("Pending reboot check finished"));
|
||||
|
||||
return "Online";
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue