View Complete Thread
  • Re: Importing WebAdministration Module in Powershell Host Application

    Dec 10, 2009 04:57 AM|Leo Tang - MSFT|LINK

    Hi,

    Please try add the cmdlet to the pipeline, then add the arguments for the cmdlet immediately after the cmdlet is added. It looks like:

    AddCommand("Set-ExecutionPolicy")
    AddArgument("Unrestricted")

    Please mark the replies as answers if they help or unmark if not.
    Feedback to us