Microsoft Reduce Customer Effort Center

Our team drives product feedback based on solid data, it drives proactive issue prevention and ultimately, drives improvements around products based on customer feedback.

Browse by Tags

Related Posts
  • Blog Post: How to query network adapter for IPv6 protocol?

    Assuming you need it in script, PowerShell: # computername $MachineName = 'localhost' # open HKLM reg on $MachineName $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $MachineName) # open subKey SYSTEM\CurrentControlSet\services\TCPIP6\Linkage $regKey =...
  • Blog Post: CPP: How to wait on a job object?

    This is the sample code in CPP to show how to wait on a job object. In the documentation: The state of a job object is set to signaled when all of its processes are terminated because the specified end-of-job time limit has been exceeded. Use WaitForSingleObject or WaitForSingleObjectEx to monitor...
  • Blog Post: C# - How to load DLL in separate domain and use its methods?

    Sometimes you may have a need to load a DLL in a separate domain to call its method at run-time. You can create a proxy class by referencing the following code snippet: public class Loader : MarshalByRefObject { object CallInternal( string dll, string typename, string method, object [] parameters...
  • Blog Post: How to determine if current user is a domain or local user?

    Assuming you need it in script, PowerShell: (gwmiWin32_LogonSession).GetRelated("Win32_UserAccount") If you expect more than one logon session, then (gwmi Win32_Process -filter "Handle = $Pid").GetRelated("Win32_LogonSession") |% {$_.GetRelated("Win32_UserAccount")} will give...