Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > BgInfo
  New Posts New Posts RSS Feed - DNS Suffix
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DNS Suffix

 Post Reply Post Reply
Author
Message
savi0627 View Drop Down
Newbie
Newbie


Joined: 03 March 2006
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote savi0627 Quote  Post ReplyReply Direct Link To This Post Topic: DNS Suffix
    Posted: 14 June 2006 at 8:34am
Is there any way for me to get BGInfo to show either my entire FQDN of my PC or at least the DNS suffix?  Such as machinename.domain.local, where 'domain.local' is the name of the DNS suffix.
Back to Top
Beckfield View Drop Down
Newbie
Newbie


Joined: 29 November 2012
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Beckfield Quote  Post ReplyReply Direct Link To This Post Posted: 29 November 2012 at 5:45pm
Has anyone ever found an answer to this?
Back to Top
WindowsStar View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 June 2010
Status: Offline
Points: 776
Post Options Post Options   Thanks (0) Thanks(0)   Quote WindowsStar Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2012 at 7:03am
There are many ways to do this, here is one way with a BGinfo VBScript:
 
' Special BGInfo Script
' Get Domain DNS Name v1.1
' Programmed by WindowsStar - Free To Use (c) 2012
' ------------------------------------------------
On Error Resume Next
Set objSystemInfo = CreateObject("ADSystemInfo")
strDomain = objSystemInfo.DomainDNSName
Echo strDomain
 
Enjoy -WS
Back to Top
MikhailCompo View Drop Down
Newbie
Newbie
Avatar

Joined: 20 July 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote MikhailCompo Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2017 at 9:51am
Originally posted by WindowsStar WindowsStar wrote:

There are many ways to do this, here is one way with a BGinfo VBScript:
 
' Special BGInfo Script
' Get Domain DNS Name v1.1
' Programmed by WindowsStar - Free To Use (c) 2012
' ------------------------------------------------
On Error Resume Next
Set objSystemInfo = CreateObject("ADSystemInfo")
strDomain = objSystemInfo.DomainDNSName
Echo strDomain
 
Enjoy -WS

Does not work on Win 7, does not work on Win 10?


Back to Top
martyfreedom View Drop Down
Newbie
Newbie


Joined: 06 November 2017
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote martyfreedom Quote  Post ReplyReply Direct Link To This Post Posted: 13 November 2017 at 3:47pm
How does it not work?  Runtime error?  Or does it not populate the data?  
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.06
Copyright ©2001-2016 Web Wiz Ltd.