5006,2463
Assembly references and imported namespaces for internal implementation
True
True
[serverDomain]
[Microsoft.RemoteDesktopServices.Common.CommonUtility.GetDomainNameFromLiveComputer(server)]
[serverNetbios]
[Microsoft.RemoteDesktopServices.Common.CommonUtility.GetNetbiosNameFromLiveComputer(Server)]
True
True
[CurrentProgress]
[CurrentProgress + (20 \ RDSHServer.Length)]
False
False
True
True
[catchErrorRecord]
[ErrorUtility.GetErrorRecord(RDManagementResources.ResourceManager.GetString("FailedToSetSessionHostObjects"), server, ErrorId.ConfigureRDSessionHost, 2, LoopErrors1(0).Exception)]
True
[CurrentProgress]
[CurrentProgress + (80 \ RDSHServer.Length)]
True
True
[CurrentProgress]
[CurrentProgress + (40 \ RDSHServer.Length)]
[catchErrorRecord]
[ErrorUtility.GetErrorRecord(RDManagementResources.ResourceManager.GetString("FailedToSetSessionHostObjects"), server, 2, LoopErrors2(0).Exception)]
True
[StatusObject.Properties]
[New PSNoteProperty("ServerName", server)]
[StatusObject.Properties]
[New PSNoteProperty("Success", True)]
True
[CurrentProgress]
[CurrentProgress + (40 \ RDSHServer.Length)]
False
True
[catchErrorRecord]
[ErrorUtility.GetErrorRecord(RDManagementResources.ResourceManager.GetString("FailedToSetSessionHostObjects"), server, ErrorId.ConfigureRDSessionHost, 2, exception)]
False
False
True
[catchErrorRecord]
[ErrorUtility.GetErrorRecord(string.Format(RDManagementResources.ResourceManager.GetString("FailedToEnableUserStateVHD"), "UserVHDShare"), string.Empty, ErrorId.CreateSessionCollection, 1, errors(0).Exception)]