-
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
Category Archives: PowerShell 2.0
PSCX 2.1 and 3.0 Release Candidates Posted
Oisin and I have been busy prepping the PowerShell Community Extensions to support Windows PowerShell 3.0. With this release, we are providing two packages. There is a Pscx-2.1.0-RC.zip that is xcopy deployable just like PSCX 2.0. Just remember to unblock … Continue reading
Posted in PowerShell 2.0, PowerShell 3.0, PSCX
3 Comments
Make-PS1ExeWrapper
Occasionally folks want to be able to create an EXE from PoweShell. PowerShell can’t do this by itself but this can be done with PowerShell script. Essentially what you can do is create a simple console EXE program that embeds … Continue reading
Posted in PowerShell 2.0
82 Comments
Get-TfsPermssion–Missing command from Team Foundation Power Tools PowerShell Snapin
The TFPT PowerShell snapin is a nice start but it is missing a key cmdlet IMO and that is Get-TfsPermission. Since TFS allows you to add individual users all over your directory structure, it can be quite hard rationalizing exactly … Continue reading
Posted in PowerShell 2.0
Leave a comment
Waiting for Out-GridView Windows to Close
This came up on StackOverflow and thought it was worth reposting here. It shows how fancy you can get with low-level Win32 API calls using the new Add-Type cmdlet. The following code essentially checks for the existence of *any* window … Continue reading
Posted in PowerShell 2.0
1 Comment
Windows PowerShell Localized Online Help
Fresh from the PowerShell team: http://technet.microsoft.com/zh-cn/library/bb978526.aspx http://technet.microsoft.com/zh-tw/library/bb978526.aspx http://technet.microsoft.com/de-de/library/bb978526.aspxhttp://technet.microsoft.com/it-it/library/bb978526.aspx http://technet.microsoft.com/ko-kr/library/bb978526.aspx http://technet.microsoft.com/pt-br/library/bb978526.aspx http://technet.microsoft.com/ru-ru/library/bb978526.aspx Enjoy!
Posted in PowerShell 2.0
Leave a comment
JSON Serialization/Deserialization in PowerShell
Since PowerShell is based on .NET and makes it easy to access .NET functionality, PowerShell can use JSON serializer that comes with .NET. The follow snippet of code shows how to deserialize a JSON string into an XML object and … Continue reading
Posted in PowerShell 2.0
9 Comments
PowerShell – Find-PInvoke.ps1
I had a need to find all PInvokes in an assembly. At first I thought about searching the source code since I had it but ran into various problems: Commented out PInvokes DLL names specified via constants [Updated: 11-02-2009] I decided … Continue reading
Posted in PowerShell 2.0
2 Comments
PowerShell 2.0 – Accessing Different Profiles
Just ran across a new feature of PowerShell 2.0 that is convenient. Need the path to the various profile scripts on a system? Try this: PS> $profile.psextended | Format-List AllUsersAllHosts : C:\Windows\System32\WindowsPowerShell\v1.0\profile.ps1AllUsersCurrentHost : C:\Windows\System32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1CurrentUserAllHosts : C:\Users\Keith\Documents\WindowsPowerShell\profile.ps1CurrentUserCurrentHost : C:\Users\Keith\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 To access … Continue reading
Posted in PowerShell 2.0
Leave a comment