Your Ad Here

Calendar

September 2008
SunMonTueWedThuFriSat
 << < > >>
 123456
78910111213
14151617181920
21222324252627
282930    

Who's Online?

Member: 0
Visitor: 1

rss Syndication

Archives

Anything u Want

28 May 2008 
Set objNewOU = GetObject("LDAP://OU=Finance,DC=fabrikam,DC=com")

Set objMoveComputer = objNewOU.MoveHere _
("LDAP://CN=atl-pro-03,CN=Computers,DC=fabrikam,DC=com", "CN=atl-pro-03")


harvey_kumar · 29 views · 0 comments
28 May 2008 
On Error Resume Next

Set objComputer = GetObject _
("LDAP://CN=atl-dc-01,CN=Computers,DC=fabrikam,DC=com")

objProperty = objComputer.Get("Location")
If IsNull(objProperty) Then
Wscript.Echo "The location has not been set."
Else
Wscr


harvey_kumar · 27 views · 0 comments
28 May 2008 
Question: What is Cascade and Restrict when we use DROP table in SQL SERVER ?
Answer:- When we are using Drop table in SQL the syntax is simple.
Drop table table_name(CASCADE / RESTRICT)
We use cascade to drop table although it have some dependencies


harvey_kumar · 33 views · 0 comments
28 May 2008 
What is RDBMS?
Relational Data Base Management Systems (RDBMS) are database management systems that maintain data records and indices in tables. Relationships may be created and maintained across and among the data and tables. In a relational database, r


harvey_kumar · 1068 views · 0 comments
27 May 2008 
Set objRootDSE = GetObject("LDAP://rootDSE")

Set objSchema = GetObject _
("LDAP://" & objRootDSE.Get("schemaNamingContext"))
strSchemaMaster = objSchema.Get("fSMORoleOwner")
Set objNtds = GetObject("LDAP://" & strSchemaMaster)
Set objCompute


harvey_kumar · 22 views · 0 comments
27 May 2008 
Const ADS_SCOPE_SUBTREE = 2

Set objConnection = CreateObject("ADODB.Connection")
Set objCommand = CreateObject("ADODB.Command")
objConnection.Provider = "ADsDSOObject"
objConnection.Open "Active Directory Provider"

Set objCOmmand.ActiveConnecti


harvey_kumar · 23 views · 0 comments
27 May 2008 
Const JOIN_DOMAIN = 1
Const ACCT_CREATE = 2
Const ACCT_DELETE = 4
Const WIN9X_UPGRADE = 16
Const DOMAIN_JOIN_IF_JOINED = 32
Const JOIN_UNSECURE = 64
Const MACHINE_PASSWORD_PASSED = 128
Const DEFERRED_SPN_SET = 256
Const INSTALL_INVOCATION = 262144


harvey_kumar · 23 views · 0 comments
27 May 2008 
The VBScript Code to disable a Global Catalog Server
strComputer = "atl-dc-01"

Const NTDSDSA_OPT_IS_GC = 1

Set objRootDSE = GetObject("LDAP://" & strComputer & "/rootDSE")
strDsServiceDN = objRootDSE.Get("dsServiceName")
Set objDsRoot = GetObj


harvey_kumar · 21 views · 0 comments
27 May 2008 
strComputer = "atl-pro-040"

set objComputer = GetObject("LDAP://CN=" & strComputer & _
",CN=Computers,DC=fabrikam,DC=com")
objComputer.DeleteObject (0)



harvey_kumar · 25 views · 0 comments
27 May 2008 
strComputer = "atl-pro-002"
strComputerUser = "fabrikam\lewjudy"

Const ADS_UF_PASSWD_NOTREQD = &h0020
Const ADS_UF_WORKSTATION_TRUST_ACCOUNT = &h1000
Const ADS_ACETYPE_ACCESS_ALLOWED = &h0
Const ADS_ACETYPE_ACCESS_ALLOWED_OBJECT = &h5
Const ADS_F


harvey_kumar · 27 views · 0 comments
17 May 2008 
On Error Resume Next

sDomain = Array("dc1","dc2","dc3")

UserID = InputBox("Please Enter User Name","User Name")

if UserID ="" then wscript.quit


For iCount = lbound(sDomain) To ubound(sDomain)
set UserS = GetObject("WinNT://" & sDomain(


harvey_kumar · 36 views · 0 comments
17 May 2008 
On Error Resume Next

Const HKEY_CURRENT_USER = &H80000001

strComputer = "."
Set objReg = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}\\" & strComputer & _
"\root\default:StdRegProv")

strKeyPath = "Software\Microsoft\


harvey_kumar · 35 views · 0 comments
17 May 2008 
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colServices = objWMIService.ExecQuery _
("Select * from Win32_Service Where Name = 'MSSQLServer'")

If


harvey_kumar · 37 views · 0 comments
17 May 2008 
Set objComputer = CreateObject("Shell.LocalMachine")

Wscript.Echo "Computer name: " & objComputer.MachineName
Wscript.Echo "Shutdown allowed: " & objComputer.IsShutdownAllowed
Wscript.Echo "Friendly UI enabled: " & objComputer.IsFriendlyUIEnabled
Ws


harvey_kumar · 32 views · 0 comments
16 May 2008 
Add a Web Site to the Favorites Menu

Const ADMINISTRATIVE_TOOLS = 6

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(ADMINISTRATIVE_TOOLS)
Set objFolderItem = objFolder.Self

Set objShell = WScript.Create


harvey_kumar · 44 views · 0 comments
15 May 2008 
strSiteRDN = "cn=Ga-Atl-Sales"
strSiteLinkRDN = "cn=DEFAULTIPSITELINK"
strSiteLinkType = "IP"

Const ADS_PROPERTY_APPEND = 3

Set objRootDSE = GetObject("LDAP://RootDSE")
strConfigurationNC = objRootDSE.Get("configurat


harvey_kumar · 40 views · 0 comments
15 May 2008 
On Error Resume Next

Set objContainer = GetObject _
("LDAP://ou=Sales,dc=NA,dc=fabrikam,dc=com")

strExistingGPLink = objContainer.Get("gPLink")

strGPODisplayName = "Sales Policy"
strGPOLinkOptions = 2
strNewGPLink = "[" & GetGPOADsPath


harvey_kumar · 44 views · 0 comments
15 May 2008 
Thoughts claim our attention incessantly, and waste our time and energy on unimportant and useless matters. They actually rule our life. We have become so used to this slavery, that we take it for granted, and have become unconscious of this habit, except


harvey_kumar · 40 views · 0 comments
15 May 2008 
Mind is a bundle of habits. Bad habits and prejudices hidden in one's nature will necessarily be brought to the surface of the mind when the proper opportunity comes. If you change the habits, you can also change your character. You sow an act; you reap a


harvey_kumar · 37 views · 0 comments
15 May 2008 
Mind is the subtle form of this physical body. The physical body is the outward manifestation of the mind. So when the mind is rough, the body is rough too. As a man of rough appearance generally cannot invoke love and mercy of others, so a rough-minded m


harvey_kumar · 41 views · 0 comments

1, 2  Next page