Showing results for ActiveX Data Objects (ADO) - Scripting Blog [archived]

Feb 15, 2008
0
0

Hey, Scripting Guy! How Can I Use a Disconnected Recordset in Windows PowerShell?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I use a disconnected recordset in Windows PowerShell? I’m able to create the recordset without any problem, but I can’t figure out how to reference the fields and values in that recordset.-- JVDL Hey, JVDL. Well, we must say, we’re impressed by how cool, calm, and collected you are. After all, today is the opening day...

Scripting Guy!Windows PowerShelldatabases
Jan 15, 2008
1
1

Hey, Scripting Guy! How Can I Add a Record to a Database Using Windows PowerShell?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Awhile back you showed us how we could use Windows PowerShell to retrieve data from a Microsoft Access database. I’m now trying to add data to a database using PowerShell, but I can’t get the script to work. Any chance you could show me how to add a record to a database using Windows PowerShell?-- AB Hey, AB. Before we start ...

Scripting Guy!Windows PowerShellOffice
Aug 28, 2007
0
0

How Can I Find All the Files in a Directory Tree that Contain a Specific Word or Phrase?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I find all the files in a directory tree that contain a specified phrase?-- PB Hey, PB. OK, so picture this: for the first time in a couple of months, the Scripting Guy who writes this column and the Scripting Son are playing basketball. The Scripting Son has a comfortable lead, but the Scripting Guy who writes this ...

Scripting Guy!VBScriptstorage
Jul 10, 2007
0
0

How Can I List All the Fields and Data Types in an Access Database?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! In a previous column you showed us how to list all the tables in an Access database. How can I list all the fields in those tables, along with the data type of each field?-- MF Hey, MF. As you may or may not know, there’s a Microsoft researcher named Gordon Bell who has devoted his professional efforts to “lifelogging,” an a...

Scripting Guy!VBScriptOffice
Nov 20, 2006
0
0

How Can I Add a User to a Group If I Don’t Know the Distinguished Name of That User?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I add a user to an Active Directory group if I don’t know the distinguished name of that user?-- VO Hey, VO. You know, if we wanted to take the easy way out here we’d just tell you, “Sorry, but if you don’t know the distinguished name of the user you can’t add that user to an Active Directory group.” In other words, ...

Scripting Guy!VBScriptActive Directory