Forum Search Results for "" RSS 1—3 of 3

More Search Options

  • Re: PowerShell in VB.NET Webservices

    Posted to IIS 7.0 - PowerShell by MagnusVMI on 03-30-2009, 6:10 PM

    Hi again,  I have also tried and make a windows application with the same code, and then it works great. It seams just not work when running as webbapplication. Anyone? // Magnus

    • http://forums.iis.net/p/1156435/1898699.aspx#1898699
  • Re: PowerShell in VB.NET Webservices

    Posted to IIS 7.0 - PowerShell by MagnusVMI on 03-30-2009, 3:57 PM

    Hi, Yes. If I run the code directly on the console it works. My Code: Get-ChildItem IIS:\Sites|format-list name,id I have also tried with whoami to see that I execute as administrator, witch I am. And my vb.net code to execute it: Public Function RunScript(ByVal scriptText As String) As String Dim results As Object 'create Powershell ...

    • http://forums.iis.net/p/1156435/1898682.aspx#1898682
  • PowerShell in VB.NET Webservices

    Posted to IIS 7.0 - PowerShell by MagnusVMI on 03-30-2009, 10:13 AM

    Hallo,  I dont know if this is the right place for this question, but perhaps somebody can direct me right. My plan is to write an solution for our administrative hosting system, to add (and remove) webbsites on a Windows 2008 Server. I have decied to use PowerShell and are running this from a VB.NET Webservices. The problem is when I ...

    • http://forums.iis.net/p/1156435/1898631.aspx#1898631

Microsoft Communities