1045,4718 Assembly references and imported namespaces for internal implementation True True [RemoteDesktopUsers] [CType(InlineScriptResult(0).Properties("Users").Value, String())] True True [serverDomain] [Microsoft.RemoteDesktopServices.Common.CommonUtility.GetDomainNameFromLiveComputer(server)] [serverNetbios] [Microsoft.RemoteDesktopServices.Common.CommonUtility.GetNetbiosNameFromLiveComputer(server)] True [CurrentProgress] [CurrentProgress + (20 \ RDSHServer.Length)] [catchErrorRecord] [ErrorUtility.GetErrorRecord(RDManagementResources.ResourceManager.GetString("FailedToSetSessionHostObjects"), server, ErrorId.ConfigureRDSessionHost, LoopErrors1(0).Exception)] [CurrentProgress] [CurrentProgress + (60 \ RDSHServer.Length)] [CurrentProgress] [CurrentProgress + (30 \ RDSHServer.Length)] [catchErrorRecord] [ErrorUtility.GetErrorRecord(RDManagementResources.ResourceManager.GetString("FailedToSetSessionHostObjects"), server,-1, LoopErrors2(0).Exception)] [StatusObject.Properties] [New PSNoteProperty("ServerName", server)] [StatusObject.Properties] [New PSNoteProperty("Success", True)] [CurrentProgress] [CurrentProgress + (30 \ RDSHServer.Length)] [catchErrorRecord] [ErrorUtility.GetErrorRecord(RDManagementResources.ResourceManager.GetString("FailedToSetSessionHostObjects"), server, ErrorId.ConfigureRDSessionHost, exception)]