none
How to run a VB script in powershell RRS feed

  • Question

  • Hi All,

    I have written a VB Script that is for moving resources from one node to another node, i want to run that VB Script in powershell, can anybody tell me how run the scripts.

    Tuesday, October 8, 2019 2:12 PM

All replies

  • Hello,

    You have posted in the System Center Data Protection Manager forum, since your question is related to PowerShell I would suggest you to create a new thread (question) in the PowerShell forum.

    To run a VB script in PowerShell you can simply run the following:

    cscript.exe C:\Temp\Script.vbs

    If you have any other concerns, I suggest you reach out to the experts in the PowerShell forum:

    Scripting > Windows PowerShell

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Proposed as answer by Leon Laude Tuesday, October 8, 2019 2:44 PM
    Tuesday, October 8, 2019 2:44 PM
  • Hi,

    Just checking to see if you have any update on your issue?

    If your issue was resolved, may I ask you to mark all the answers that helped you? This way it will also help others in the future who face the same challenge. Many thanks in advance!


    Best regards,
    Leon

    Blog: https://thesystemcenterblog.com LinkedIn:

    Wednesday, December 11, 2019 9:43 PM