{"id":13526,"date":"2017-03-29T08:10:55","date_gmt":"2017-03-29T15:10:55","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=13526"},"modified":"2017-03-29T08:02:23","modified_gmt":"2017-03-29T15:02:23","slug":"powershell-studio-2017-service-release-v5-4-137","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2017\/03\/29\/powershell-studio-2017-service-release-v5-4-137\/","title":{"rendered":"PowerShell Studio 2017: Service Release v5.4.137"},"content":{"rendered":"<p>Today we released a new build of PowerShell Studio 2017 (v5.4.137). In this build we added a number of new features, including some user requests, and made some improvements on existing features.<\/p>\n<p>&nbsp;<\/p>\n<h2>New Features<\/h2>\n<h3>Git Ignore Filter for Projects<\/h3>\n<p>For those of you who use Git, we added a new option to project creation that includes a .gitignore file prefilled with filters for PowerShell Studio\u2019s temporary files.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/New-Project-Ignore-Git.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"New Project Ignore Git\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/New-Project-Ignore-Git_thumb.png\" alt=\"New Project Ignore Git\" width=\"492\" height=\"432\" border=\"0\" \/><\/a><\/p>\n<p>If you have an existing project, you can insert a .gitignore file using the Project panel context menu.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Add-Git-Ignore.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Add Git Ignore\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Add-Git-Ignore_thumb.png\" alt=\"Add Git Ignore\" width=\"644\" height=\"309\" border=\"0\" \/><\/a><\/p>\n<p>If the project file already contains a .gitignore file, it will automatically append the project temporary file filters to the existing file.<\/p>\n<h3><\/h3>\n<h3>Create Project from Existing Module<\/h3>\n<p>Do you have an existing module that you wish to edit in PowerShell Studio, but don\u2019t have a project? No problem, the new <b>Create Project from Existing Module<\/b> command will create a PowerShell Studio Module Project to use for your existing script module.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Create-Project-For-Existing-Module.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Create Project For Existing Module\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Create-Project-For-Existing-Module_thumb.png\" alt=\"Create Project For Existing Module\" width=\"635\" height=\"484\" border=\"0\" \/><\/a><\/p>\n<p>When you use the command, it will ask you to select the module\u2019s psm1 or psd1 file.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Select-Module.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Select Module\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Select-Module_thumb.png\" alt=\"Select Module\" width=\"644\" height=\"392\" border=\"0\" \/><\/a><\/p>\n<p>You are then presented with the following dialog.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/New-Project-From-Module.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"New Project From Module\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/New-Project-From-Module_thumb.png\" alt=\"New Project From Module\" width=\"585\" height=\"275\" border=\"0\" \/><\/a><\/p>\n<p>The <em>New Project From Module<\/em> dialog provides the following options:<\/p>\n<h4>Copy the module to a separate project directory<\/h4>\n<p>The project will be created in a separate project folder and the module\u2019s contents will be copied over to the new project\u2019s folder. This folder location is determined by the <strong>Location<\/strong> field.<\/p>\n<p>It is recommended to make a copy of the module for the project, especially if the module is located in <em>My Documents\\WindowsPowerShell\\Modules<\/em> folder. The project will build and export the module to <em>My Documents\\WindowsPowerShell\\Modules<\/em> folder for you.<\/p>\n<h4>Create the module in the module\u2019s directory<\/h4>\n<p>When selected, the project will be created in the same directory as the module. If the module is located in the <em>My Documents\\WindowsPowerShell\\Modules<\/em> folder, PowerShell Studio will not allow you to export the module in order to prevent accidental overwriting of existing files.<\/p>\n<h4>Create project folder<\/h4>\n<p>When checked, PowerShell Studio will create a subfolder using the module\u2019s name in the <em><strong>Location<\/strong><\/em> path.<\/p>\n<h4>Include Git ignore file for temporary project files<\/h4>\n<p>When checked, PowerShell Studio will create a .gitingore file, for Git source control, that filters out any temporary project files.<\/p>\n<p>&nbsp;<\/p>\n<p>After selecting your options, press the <strong>Create Project<\/strong> button and PowerShell Studio will create the project for your existing module.<\/p>\n<p>Note: If the project doesn\u2019t contain an existing manifest psd1 or a psm1 file, PowerShell Studio will automatically create one for you.<\/p>\n<p>&nbsp;<\/p>\n<h3>Set Manifest\u2019s Module Version via the Properties Panel<\/h3>\n<p>With this build, you can now modify a module manifest\u2019s ModuleVersion directly from the Properties panel. You can do this by selecting the psd1 file in the Project panel and then use the Properties panel to edit the version.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/ModuleVersion-via-Properties-Panel.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"ModuleVersion via Properties Panel\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/ModuleVersion-via-Properties-Panel_thumb.png\" alt=\"ModuleVersion via Properties Panel\" width=\"644\" height=\"418\" border=\"0\" \/><\/a><\/p>\n<p>With this feature, you no longer need to open the manifest to edit the module\u2019s version.<\/p>\n<p>&nbsp;<\/p>\n<h3>Collapsing Strings<\/h3>\n<p>We added another requested feature, which is the ability to collapse multi-line strings in the editor.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Collapsable-Strings.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Collapsable Strings\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Collapsable-Strings_thumb.png\" alt=\"Collapsable Strings\" width=\"279\" height=\"126\" border=\"0\" \/><\/a><\/p>\n<p>You can also choose to include strings when using the <strong>Collapse All<\/strong> and <strong>Expand All<\/strong> commands.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Include-Strings.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Include Strings\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Include-Strings_thumb.png\" alt=\"Include Strings\" width=\"644\" height=\"265\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>Find \/ Replace Dialog History<\/h3>\n<p>As per your request, we included a history for the Find \/ Replace dialog. You can now access your find history via a dropdown list within the <em>Find What<\/em> field.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Find-Replace-History.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Find Replace History\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Find-Replace-History_thumb.png\" alt=\"Find Replace History\" width=\"463\" height=\"193\" border=\"0\" \/><\/a><\/p>\n<h3>Add Save Commands to Document Tab Context Menu<\/h3>\n<p>As per your request, we added the save commands to the document tab context menu.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Save-in-Document-ContextMenu.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Save in Document ContextMenu\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Save-in-Document-ContextMenu_thumb.png\" alt=\"Save in Document ContextMenu\" width=\"345\" height=\"240\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Updated Features<\/h2>\n<h3>Improved Splatting Support<\/h3>\n<p>Last service release we introduced the new <strong>Splat Command<\/strong> feature.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Splat-Command.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Splat Command\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Splat-Command_thumb.png\" alt=\"Splat Command\" width=\"644\" height=\"267\" border=\"0\" \/><\/a><\/p>\n<p>We improved the <strong>Splat Command<\/strong> so that it takes into account commands that are part of an existing statement, such as an assignment or piping, without breaking the structure of the statement.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Splatted-Commands.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"Splatted Commands\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Splatted-Commands_thumb.png\" alt=\"Splatted Commands\" width=\"570\" height=\"222\" border=\"0\" \/><\/a><\/p>\n<p>The parameters hashtable name now incorporates the command\u2019s name in order to help prevent conflicts when splatting multiple commands within a single pipe statement.<\/p>\n<p>&nbsp;<\/p>\n<h3>PrimalSense and Environmental variables<\/h3>\n<p>PowerShell Studio will now evaluate environmental variables in order to provide PrimalSense for folders and file paths.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Path-PrimalSense-with-Environmental-Variables-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"Path PrimalSense with Environmental Variables\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2017\/03\/Path-PrimalSense-with-Environmental-Variables_thumb-1.png\" alt=\"Path PrimalSense with Environmental Variables\" width=\"528\" height=\"237\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Please continue providing your feedback. Many of the new features included in the service builds are suggestions from users like you. Therefore, if you have any suggestions or feature requests, please share them with us on our <a href=\"https:\/\/www.sapien.com\/forums\/viewforum.php?f=9\">Wish List and Feature Requests<\/a> forum.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we released a new build of PowerShell Studio 2017 (v5.4.137). In this build we added a number of new features, including some user requests, and made some improvements on existing features. &nbsp; New Features Git Ignore Filter for Projects For those of you who use Git, we added a new option to project creation [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[703,624,21,25],"tags":[28,1188,645,155],"class_list":["post-13526","post","type-post","status-publish","format-standard","hentry","category-powershell-studio","category-service-build","category-software-news","category-windows-powershell","tag-powershell","tag-powershell-studio-2017","tag-service-build-2","tag-service-release"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/13526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=13526"}],"version-history":[{"count":5,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/13526\/revisions"}],"predecessor-version":[{"id":13534,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/13526\/revisions\/13534"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=13526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=13526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=13526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}