1. A

    converting powershell

    Hi guys, I have a problem. I need to convert this PowerShell program to vb.net or VbScript. But i can't find the solution.. Could anyone help me with this? function Remove-EmptyFolders { [CmdletBinding()] param () $delDirs = @() $dirs = Get-ChildItem -Recurse | Where-Object {...
  2. S

    Question Calling Powershell Exchange cmdlet in VS2010

    Hello I am trying to run a Powershell script in VS2010 on a 64bit 2008 R2 server with Exchange 2007 Tools installed; and failing miserably :( The code is: Dim res As String Dim runspace As Runspace = RunspaceFactory.CreateRunspace() runspace.Open() Using pipeline As...