About 50 results
Open links in new tab
  1. Changing Scripting Host from WScript to CScript for Drag&Drop …

    today I've run into a strange problem using the Windows Scripting Host. I've written a script that generates longer output texts and thus wanted it to run using the CScript interpreter (message …

  2. Scripting the export of AD account attributes to use for importing …

    I don’t know where to start on the scripting side of things so I need as much help as possible. Below is an example of a source user account and new contact record showing the attributes …

  3. How to extract a substring in Windows Bat scripting

    I have a very basic question. I want to know how to extract a substring from a string. For EG, if I have following string: set my_file="C:\path\to\dir\test.xls"

  4. VBscript viewer - social.technet.microsoft.com

    Two ideas. One is to have statements that echo somthing indicating where you are in the program. I run VBScript programs at a command prompt using cscript, and PowerShell scripts …

  5. Error : compilation error Expected ')'

    Set objFSO = CreateObject ("Scripting.FileSystemObject") Set objTextFile = objFSO.OpenTextFile ("C:\IP.txt") Set objShell = WScript.CreateObject ("WScript.Shell") i = 0 …

  6. Scripting powershell to check DAG/DB status then run backup?

    I am trying to write a powershell script that can be put onto a schedule that will check the status of a particular database. If it is mounted/active then it will run the backup. If it is healthy/inactive …

  7. Outlook cached global address book file location

    I need to write a script that will locate the latest cached address book. I know that on an xp machine, it is pretty standard for the location. But, I have noticed that on a Win7 / Outlook …

  8. Delete files on a NAS - social.technet.microsoft.com

    We can't be everywhere at once (we know—shocking!), so we will appreciate any and all help you can give to each other to get scripting problems solved. The Microsoft Scripting Guys11

  9. Query AD from Workgroup machine - how to pass credential

    Feb 12, 2014 · I need to execute some AD query (from a script, no AD modification) from a workgroup machine. How do I do that ? How do I pass Credential in powershell securely ?

  10. How to add comma to AD displayname

    Jan 22, 2019 · Question 0 Sign in to vote Please could some help me with a powershell script that will make a change in the "Displayname" of about 300 users in my Active Directory at once. i.e …