Archive for the ‘General’ Category


 

Using Bash with PrimalScript 2016

Thursday, May 26th, 2016 by Alex Riedel
I have been asked a few times now to use Bash with PrimalScript. It doesn’t have all the setup for it out of the box because there are a few different implementations of Bash available for Windows. If you followed the latest news, Microsoft has announced at the BUILD 2016 keynote that Bash will become an integral part of Windows. (https://www.youtube.com/watch?v=kJGqZHQzNRo) Since we do not have the bits from Microsoft yet, I used the Cygwin Bash shell to demonstrate the necessary steps for PrimalScript 2016. You can download and install this version from here: https://cygwin.com/install.html There are a few quirks…   More »

GitHub: Tell Git to ignore files

Wednesday, May 18th, 2016 by June Blender
This post demonstrates how to use 'exclude' and .gitignore files to exclude files from your GitHub repos, including the backup files that PowerShell Studio creates. Both are text files, but a .gitignore file is part of your repo, so it's versioned and shared. The 'exclude' file is private to your clone on disk; it's not shared or versioned. Special thanks to @jeffhicks for suggesting an exclude file. Why ignore files? In addition to the files that are critical to your Git repository, you might have a few extra files in the clone of your repo, like temp files, a TODO…   More »

Which versions of PowerShell do you run?

Tuesday, March 8th, 2016 by June Blender
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 takes time to do the parallel testing to certify that a new product is secure and compatible with the software that the organization uses. Take the survey: Which version of Windows PowerShell do you use? For those of us who are writing scripts and modules to share, this…   More »

New PowerShell Reference Tool

Thursday, February 25th, 2016 by June Alane Reif
SAPIEN Technologies, Inc. is pleased to introduce our new online Windows PowerShell Reference tool, which is based on the reference section of iPowerShell Pro. To find it, on the SAPIEN web page, click Support and then click PowerShell Reference. Or, go directly to https://www.sapien.com/powershell. PowerShell Reference contains help for Windows PowerShell and PowerShell modules. This tool allows you to search through Cmdlet Help, About Help and Provider Help with just a click of your mouse. After you've chosen a help category, start typing in the search box. The menu will filters as you type. When you choose an item from…   More »

Update-Module 5.0 adds, not updates

Wednesday, February 17th, 2016 by June Blender
Applies to: -- Windows PowerShell 5.0.10586.63 -- PowerShellGet 1.0.0.1 I'm a huge fan of sharing Windows PowerShell modules and making them easy to find (Find-Module), view (Save-Module), and install (Install-Module). So, I truly love the new PowerShellGet module. However, you really need to understand how it works before you use it. Otherwise, you might end up with commands and modules that don't work correctly (or at all) or don't do what you expect. Or, you might download modules with commands that shadow or hide commands that your scripts run. Update-Module is one of the really useful cmdlets in PowerShellGet, but if you don't know…   More »

Using Prefixes to Prevent Command Name Collision

Monday, February 15th, 2016 by June Blender
In January, I had the honor of presenting to the Mississippi PowerShell User Group (MSPSUG). I've known the organizers, Mike Robbins and Rohn Edwards for years, and truly respect them. The PSUG is online-only, which makes it a challenge for presenters, but they attract a very sophisticated audience, so my talks there are really conversations. This was a perfect venue for my "Avoiding Version Chaos" talk. (More at PowerShell Saturday in Tampa on March 19, 2016.) In one part of the talk, I demonstrated how to use noun prefixes to distinguish among commands with the same names. The demo flopped…   More »

It’s a weekend celebration!

Friday, February 12th, 2016 by Lanae Dale
We’re kicking of this year’s sales with a weekend celebration event! This weekend we celebrate love and all of the U.S. presidents, past and present, with an opportunity to save.  Take 20% off your entire software purchase now through February 15th. This includes all new license purchases and active software subscription renewals. Head on over to our On-line Store and use the discount code VPDS16 to redeem this offer. Don’t let this slip away!   Restrictions: This offer is valid only from February 12, 2016 through February 15, 2016. This offer may not be combined with other offers. This offer…   More »

Using Group-Object to Detect Command Name Conflicts

Wednesday, February 10th, 2016 by June Blender
The Group-Object cmdlet, one of the original provider cmdlets, is as old as Windows PowerShell. It was introduced in version 1.0 and hasn't changed at all since then. But, it is one of my favorites. (You can tell when I love a cmdlet by the number of examples. Group-Object has 9!) In fact, when you use it frequently, you begin to see groups as a path to many solutions. Group-Object groups objects by the values of a property that you choose. So, it's a quick way to find the property values that appear in a data set. Which domain controllers are used by users…   More »

Congratulations to SAPIEN MVPs 2016

Thursday, February 4th, 2016 by June Blender
Many people think of Most Valuable Professionals (MVPs) as being technical stars in their disciplines. And, that's true. But, at SAPIEN Technologies, Inc., our MVPs are really an extension of our technical team. We rely on them for early and actionable feedback on products, for technical assistance, and for helping us to demonstrate how to use our products in creative and effective ways. Please welcome and congratulate the SAPIEN MVPs 2016. We recommend that you follow them on Twitter and subscribe to their excellent blogs. Mike F. Robbins (@mikefrobbins), a renewed SAPIEN MVP, is a Windows PowerShell MVP, a Windows…   More »

SAPIEN Loves User Groups

Thursday, January 28th, 2016 by June Blender
 Need support for your technical user group? Contact me at usergroups@sapien.com. Many of us technical types are loners. We tend to be introverts. We prefer our own space. However, when you're learning a completely new skill, like Windows PowerShell, it helps to collaborate. You can read a book and practice on your own. If you hit an obstacle, you can google the problem and copy online solutions. But, it's so much more efficient to talk to people who have been through the learning process, to hear a clear explanation of a solution, to see a demonstration of a new way…   More »