{"id":12561,"date":"2016-07-25T08:00:54","date_gmt":"2016-07-25T15:00:54","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=12561"},"modified":"2016-07-25T09:06:15","modified_gmt":"2016-07-25T16:06:15","slug":"powershell-studio-2016-service-release-v5-2-125","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2016\/07\/25\/powershell-studio-2016-service-release-v5-2-125\/","title":{"rendered":"PowerShell Studio 2016 &#8211; Service Release v5.2.125"},"content":{"rendered":"<p>We released a new service build of PowerShell Studio 2016 (v5.2.125)!<\/p>\n<p>&nbsp;<\/p>\n<h2>Here\u2019s what\u2019s new:<\/h2>\n<p>&nbsp;<\/p>\n<h3>Blocked Files<\/h3>\n<p>PowerShell Studio will now notify you when a script file is blocked. Windows flags files as blocked when downloaded from the internet or copied from a remote computer.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/07\/Blocked-File.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=\"Blocked File\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/07\/Blocked-File_thumb.png\" alt=\"Blocked File\" width=\"644\" height=\"130\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>PowerShell Studio disables execution of blocked files for your security. When you wish to run the script, unblock the file using the file tab\u2019s context menu:<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/07\/Unblock-file.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=\"Unblock file\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/07\/Unblock-file_thumb.png\" alt=\"Unblock file\" width=\"539\" height=\"388\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>Open with PrimalXML<\/h3>\n<p>You can now open XML files directly in <strong>PrimalXML<\/strong> from the project panel using the context menu:<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/07\/Open-With-PrimalXML.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=\"Open With PrimalXML\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/07\/Open-With-PrimalXML_thumb.png\" alt=\"Open With PrimalXML\" width=\"644\" height=\"482\" border=\"0\" \/><\/a><\/p>\n<p>You can also open help files directly in <strong>PowerShell HelpWriter<\/strong> using the content menu.<\/p>\n<p>&nbsp;<\/p>\n<h3>New Form Template<\/h3>\n<p>In this service build we introduce a new form template:<\/p>\n<p>Full Grid Search Template<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/07\/Full-Grid-View-Template.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=\"Full Grid View Template\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2016\/07\/Full-Grid-View-Template_thumb.png\" alt=\"Full Grid View Template\" width=\"644\" height=\"397\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>In this new template, the grid fills the whole form and automatically sizes the columns for the displayed content.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: large;\">New Load-DataGridView Parameter <\/span><\/p>\n<p>The Load-DataGridView helper function now has a new parameter:<\/p>\n<p>&nbsp;<\/p>\n<h4>AutoSizeColumn<\/h4>\n<p>This parameter will automatically size the columns of the DataGridView after loading the content.<\/p>\n<p>The sizing behavior is determined by the following values:<\/p>\n<blockquote><p><em>AllCells<\/em><\/p>\n<p>The column width adjusts to fit the contents of all cells in the column, including the header cell.<\/p>\n<p><em>AllCellsExceptHeader<\/em><\/p>\n<p>The column width adjusts to fit the contents of all cells in the column, excluding the header cell.<\/p>\n<p><em>ColumnHeader<\/em><\/p>\n<p>The column width adjusts to fit the contents of the column header cell.<\/p>\n<p><em>DisplayedCells<\/em><\/p>\n<p>The column width adjusts to fit the contents of all cells in the column that are in rows currently displayed onscreen, including the header cell.<\/p>\n<p><em>DisplayCellsExceptHeader<\/em><\/p>\n<p>The column width adjusts to fit the contents of all cells in the column that are in rows currently displayed onscreen, excluding the header cell.<\/p>\n<p><em>Fill<\/em><\/p>\n<p>The column width adjusts so that the widths of all columns exactly fills the display area of the control, requiring horizontal scrolling only to keep column widths above the <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/system.windows.forms.datagridviewcolumn.minimumwidth.aspx\">DataGridViewColumn.MinimumWidth<\/a> property values. Relative column widths are determined by the relative <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/system.windows.forms.datagridviewcolumn.fillweight.aspx\">DataGridViewColumn.FillWeight<\/a> property values.<\/p>\n<p><em>None<\/em><\/p>\n<p>The column width does not automatically adjust.<\/p>\n<p><em>NotSet<\/em><\/p>\n<p>The sizing behavior of the column is inherited from the <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/system.windows.forms.datagridview.autosizecolumnsmode.aspx\">DataGridView.AutoSizeColumnsMode<\/a> property.<\/p><\/blockquote>\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>We released a new service build of PowerShell Studio 2016 (v5.2.125)! &nbsp; Here\u2019s what\u2019s new: &nbsp; Blocked Files PowerShell Studio will now notify you when a script file is blocked. Windows flags files as blocked when downloaded from the internet or copied from a remote computer. &nbsp; PowerShell Studio disables execution of blocked files for [&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],"tags":[1159,28,1068,645],"class_list":["post-12561","post","type-post","status-publish","format-standard","hentry","category-powershell-studio","category-service-build","category-software-news","tag-datagridview","tag-powershell","tag-powershell-studio-2016","tag-service-build-2"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/12561","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=12561"}],"version-history":[{"count":3,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/12561\/revisions"}],"predecessor-version":[{"id":12564,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/12561\/revisions\/12564"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=12561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=12561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=12561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}