Here you go Duncan!

$client = new-object -comobject "Microsoft.SMS.Client"
$client.getdnssuffix()
$client.setdnssuffix("yoursuffix.com")

You may have to do a put() at the end to force it. May also require a ccmexec 
restart.

Daniel Ratliff

From: [email protected] [mailto:[email protected]] On 
Behalf Of Brandon Linton
Sent: Tuesday, July 30, 2013 1:21 PM
To: [email protected]
Subject: [mssms] RE: Change DNSSUFFIX setting

Got yea wasn't clear...  I personally haven't looked at doing this before my 
guess would be client reinstall.

Thanks,
Brandon A. Linton | Sr. Consultant | 
[email protected]<mailto:[email protected]> | Work 484.323.7205

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 On Behalf Of Duncan Russell
Sent: Tuesday, July 30, 2013 1:15 PM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] RE: Change DNSSUFFIX setting

To clarify Brandon, I am trying to change the CCMSETUP client installation 
property DNSSUFFIX, which "specifies a DNS domain for clients to locate 
management points that are published in DNS."  I am not trying to change the 
DNS suffix settings on the client's network settings.

http://technet.microsoft.com/en-us/library/gg699356.aspx

Duncan Russell

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Brandon Linton
Sent: Tuesday, July 30, 2013 13:05
To: [email protected]<mailto:[email protected]>
Subject: [mssms] RE: Change DNSSUFFIX setting

Give this a try.

Set-DnsClientGlobalSetting -SuffixSearchList @("DOMAIN.COM","DOMAIN2.COM")

Thanks,
Brandon A. Linton | Sr. Consultant | 
[email protected]<mailto:[email protected]> | Work 484.323.7205

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 On Behalf Of Duncan Russell
Sent: Tuesday, July 30, 2013 1:00 PM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] Change DNSSUFFIX setting

Is there a way to change the DNSSUFFIX setting on a client once it is set, 
preferably via powershell or vbscript?  I made the mistake of setting it on a 
group of "workgroup" machines that cannot access our AD.  I tried to find this 
elusive setting in WMI, registry, SDK, etc. but no luck.  I am thinking that a 
re-run the ccmsetup install may be my only option.  Any ideas?

Duncan Russell


The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.



The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.



The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material.  If you receive this 
material/information in error,
please contact the sender and delete or destroy the material/information.


Reply via email to