I\'im trying to dot-source a script file in PowerGui 3.0 , but all i get is ; The term \'.\\PowerShell.Common.ps1\' is not recognized as the name of a
I found the following [Quest.PowerGUI.SDK.ScriptEditorFactory]::CurrentInstance.CurrentDocumentWindow.Document.CaretLine
I\'ve read the whole thread about running PowerShell under .NET 4.0, including the 开发者_运维问答warnings about what happens when using the registry keys to make the scripts run under that framework.
I have a PowerShell script that uses du.exe (Disk Usage originally from Sysinternals) to calculate the size of directories.
When I run my script directly from the Powershell console it works.When I run my script in PowerGUI and try instantiate an object, I get an error:
I have PS V2 and PowerGUI (1.9.6.1027). I set a debug point in my script in PowerGUI, but I cannot get debug workin when I start debug from tool bar or menu item. I got a dialog of \"Continue with thi
I use PowerGUI to edit my script. In Visual Studio, I can add command line argument from project properties. However, I cannot find a way to set parameters to the UI to debug my codes with specified $