Which versions of PowerShell do you run?

The PowerShell team released Windows PowerShell 5.0 on Windows 10 last year and just re-released Windows Management Framework (WMF) 5.0 for earlier versions of Windows. But, we know from years of experience that many people don’t upgrade their versions quickly. It takes time to get to know and trust a new version. In a large enterprise, it […]

Read More

PowerShell Scoping – Revisited

Yes, we said we would not speak of it again, but a user post provided a good example of the change in scoping rules between PowerShell V2 and V3. This particular user had a question about GUI controls on our new PowerShell GUIs forum and provided an example GUI script. In the example, the user […]

Read More

Another PowerShell V3 breakpoint bug [UPDATED]

[UPDATE] Some users report that they cannot reproduce this behavior on Windows 8. Our Windows 8 machines show the same behavior. We will investigate further what the differences are. [END UPDATE] As we previously reported here (PowerShell V3 breakpoint bug) PowerShell V3 has a serious breakpoint bug where breakpoints cannot be set or removed after […]

Read More

Not all syntax coloring is created equal

Syntax coloring for programming languages was originally introduced as a visual aid to assist developers in assessing the syntactical correctness of code. Unlike the squiggly red or green underlines in Microsoft Word colors indicate validation rather than error. So while glancing at a syntax colored stretch of code the usual green hue of comments and […]

Read More

Out-GridView fails in PowerShell V2 after V3 update

Seems there was a recent update to PowerShell V3 that has affected PowerShell V2. Now the Out-Gridview  cmdlet produces an error and no longer functions in PowerShell V2. This issue affects all products using PowerShell including packaged scripts running in V2 mode. V2 only machines may not be affected To reproduce the error start PowerShell […]

Read More

PowerShell V3 support

Just in case you missed it. With the latest service builds of PrimalScript 2012 and PowerShell Studio 2012 we added support for PowerShell V3. PrimalScript 2012 version switch   PowerShell Studio 2012 version switch   As you can see it’s pretty easy to switch which version you want to develop for, just press a button. […]

Read More

Developing PowerShell scripts for other machines (Part 2)

Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as “WIN2008R2TESTVM.CacheExport”. Let’s assume we put that file on the desktop of your local machine. Now fire up […]

Read More

PowerShell V2 Bug Introduced After Installing V3

As some of you may know, we are working on updating our products to support PowerShell V3 and have been running various tests to ensure our software functions correctly. During this testing process we stumbled upon a minor bug that was introduced into V2 after installing PowerShell V3 on Windows 7. As it turned out, […]

Read More

PowerShell V3 breakpoint bug

While we are adapting and verifying all our bits and pieces for PowerShell V3 and Windows 8, we sometimes stumble across little changes from PowerShell V2 behavior. Most of the time this is pretty simple and we can adapt our code to a new object or a change of where the information is located. Sometimes […]

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard