-
Recent Posts
- Scripting Guys Blog Posts on Using Visual Studio Code for PowerShell Development
- Preview of Module Build and Publish with Visual Studio Code and the PowerShell Extension
- Breakpoint Enhancements in the v0.5.0 PowerShell Extension for Visual Studio Code
- Creating a PowerShell Command that Process Paths using Visual Studio Code
- New Release of PowerShell Extension For Visual Studio Code
Recent Comments
Archives
- February 2017
- March 2016
- February 2016
- December 2015
- September 2015
- August 2015
- July 2015
- May 2015
- April 2015
- January 2015
- November 2014
- October 2014
- July 2014
- April 2014
- October 2013
- September 2013
- July 2013
- May 2013
- April 2013
- January 2013
- September 2012
- July 2012
- April 2012
- March 2012
- January 2012
- December 2011
- October 2011
- September 2011
- March 2011
- September 2010
- July 2010
- May 2010
- January 2010
- December 2009
- October 2009
- September 2009
- August 2009
- July 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- June 2007
- May 2007
- March 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- September 2005
- August 2005
- June 2005
- March 2005
- January 2005
- December 2004
Categories
- .NET
- .NETCore
- Agilent T&M Toolkit
- Agilent VEE
- Books
- Conference
- CSharp
- Effective PowerShell
- LINQ
- Microsoft
- Monad
- MSBuild
- Music
- PDC
- PowerShell
- PowerShell 2.0
- PowerShell 3.0
- PowerShell 4.0
- PowerShell 5.0
- PowerShellEditorServices
- PSCX
- PSScriptAnalyzer
- Software Architecture
- Software Development
- Uncategorized
- VSCode
- Windows 7
- WinRT
Meta
Monthly Archives: June 2006
Calling a Web Service from PowerShell
Before starting this you need to setup PS environment to enable the Visual Studio 2005 tools. Copy the following into a file called something like vs80vars.ps1: $env:VSINSTALLDIR="$env:ProgramFiles\Microsoft Visual Studio 8"$env:VCINSTALLDIR="$env:ProgramFiles\Microsoft Visual Studio 8\VC"$env:DevEnvDir="$env:VSINSTALLDIR\Common7\IDE"$env:FrameworkSDKDir="$env:VSINSTALLDIR\SDK\v2.0" $FrameworkPath=$([System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory())$env:FrameworkDir=$(split-path $FrameworkPath -Parent)$env:FrameworkVersion=$(split-path $FrameworkPath -Leaf) $env:PATH="$env:VSINSTALLDIR\Common7\IDE;$env:VCINSTALLDIR\BIN;$env:VSINSTALLDIR\Common7\Tools;$env:VSINSTALLDIR\Common7\Tools\bin;$env:VCINSTALLDIR\PlatformSDK\bin;$env:FrameworkSDKDir\bin;$env:FrameworkDir\$env:FrameworkVersion;$env:VCINSTALLDIR\VCPackages;$env:PATH"$env:INCLUDE="$env:VCINSTALLDIR\ATLMFC\INCLUDE;$env:VCINSTALLDIR\INCLUDE;$env:VCINSTALLDIR\PlatformSDK\include;$env:FrameworkSDKDir\include;$env:INCLUDE"$env:LIB="$env:VCINSTALLDIR\ATLMFC\LIB;$env:VCINSTALLDIR\LIB;$env:VCINSTALLDIR\PlatformSDK\lib;$env:FrameworkSDKDir\lib;$env:LIB"$env:LIBPATH="$FrameworkPath;$env:VCINSTALLDIR\ATLMFC\LIB" … Continue reading
Posted in PowerShell
7 Comments
FINDSTR Equivalent in PowerShell
I ran across this blog post by Ian Griffiths called Learning PowerShell: FINDSTR Equivalent which motivated me to come up with my own flavor of this sort of utility. The great thing about PowerShell is that you can take these … Continue reading
Posted in PowerShell
Leave a comment
Creating and Using a Configuration File for Your PowerShell Scripts
.NET has this nice and easy ability to load application configuration information from an XML config file associated with the application. Unfortunately there isn’t a way to put config info in a config file associated with a DLL e.g. Acme.dll.config. The only way to get … Continue reading
Posted in PowerShell
6 Comments