{"id":11130,"date":"2016-02-17T06:00:41","date_gmt":"2016-02-17T14:00:41","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=11130"},"modified":"2016-02-10T08:23:26","modified_gmt":"2016-02-10T16:23:26","slug":"update-module-5-0-adds-not-updates","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/","title":{"rendered":"Update-Module 5.0 adds, not updates"},"content":{"rendered":"<hr \/>\n<p><em>Applies to:<\/em><\/p>\n<p>&#8212; Windows PowerShell 5.0.10586.63<br \/>\n&#8212; PowerShellGet 1.0.0.1<\/p>\n<hr \/>\n<p>I&#8217;m a huge fan of sharing Windows PowerShell modules and making them easy to find (<a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dn807167.aspx\" target=\"_blank\">Find-Module<\/a>), view (<a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/mt653992.aspx\" target=\"_blank\">Save-Module<\/a>), and install (<a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dn807162.aspx\" target=\"_blank\">Install-Module<\/a>). So, I truly love the new\u00a0<a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dn807169.aspx\" target=\"_blank\">PowerShellGet module<\/a>.<\/p>\n<p>However, you really need to understand how it works before you use it. Otherwise, you might end up with commands and modules that don&#8217;t work correctly (or at all)\u00a0or don&#8217;t do what you expect.\u00a0Or, you\u00a0might download modules with commands that shadow or hide commands that your scripts run.<\/p>\n<p><strong>Update-Module<\/strong> is one of the\u00a0really useful cmdlets in PowerShellGet, but if you don&#8217;t know how it works, it might surprise you. In Windows PowerShell 5.0, Update-Module doesn&#8217;t update\u00a0a\u00a0module. It adds one.<\/p>\n<p>And, this is important to understand, because when you have side-by-side versions of the same module, you might mistakenly import the wrong version of a module or run the wrong version of a command.<\/p>\n<p>I once made the mistake of piping <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/mt653990.aspx\" target=\"_blank\">Get-InstalledModule<\/a> (all of them) to <strong>Update-Module<\/strong>. It took a long time to run and it installed additional versions of many of my modules in my poor, bloated Modules directory.<\/p>\n<p>Here&#8217;s how\u00a0<strong>Update-Module<\/strong> works:<\/p>\n<ul>\n<li>When\u00a0you use <strong>Update-Module<\/strong> with no version parameters, it checks to see if the <strong>newest<\/strong> version of the module\u00a0is\u00a0newer than the newest version you have. If it is, it installs the newest version <strong>beside<\/strong> the current version in the same directory. Otherwise, it does nothing.<\/li>\n<\/ul>\n<pre class=\"output\">PS C:\\&gt; Get-Module -List PowerForensics\r\n\r\nDirectory: C:\\Users\\JuneB\\Documents\\WindowsPowerShell\\Modules\r\nModuleType Version\u00a0\u00a0\u00a0 Name\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ExportedCommands\r\n---------- -------\u00a0\u00a0\u00a0 ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0----------------\r\nBinary\u00a0\u00a0\u00a0\u00a0 1.0.2\u00a0\u00a0\u00a0\u00a0\u00a0 PowerForensics\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{ConvertFrom-BinaryData, ConvertTo-ForensicTimeline\r\n\r\nPS C:\\&gt; Update-Module PowerForensics\r\nPS C:\\&gt; Get-Module -List PowerForensics\r\nDirectory: C:\\Users\\JuneB\\Documents\\WindowsPowerShell\\Modules\r\nModuleType Version\u00a0\u00a0\u00a0 Name\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ExportedCommands\r\n---------- -------\u00a0\u00a0\u00a0 ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0----------------\r\nBinary\u00a0\u00a0\u00a0\u00a0 1.1.1\u00a0\u00a0\u00a0\u00a0\u00a0 PowerForensics\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{ConvertFrom-BinaryData, ConvertTo-ForensicTimeline\r\nBinary\u00a0\u00a0\u00a0\u00a0 1.0.2\u00a0\u00a0\u00a0\u00a0\u00a0 PowerForensics\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{ConvertFrom-BinaryData, ConvertTo-ForensicTimeline\r\n<\/pre>\n<p>&nbsp;<\/p>\n<ul>\n<li>When\u00a0you use <strong>Update-Module<\/strong> with\u00a0the <strong>RequiredVersion<\/strong> parameter, it checks to see\u00a0if\u00a0the <strong>specified<\/strong> version of the module is\u00a0already installed. If it is not, it installs the\u00a0specified version <strong>beside<\/strong> the current version in the same directory. Otherwise, it does nothing.In this example, I use -RequiredVersion to install an earlier version of the module.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<pre class=\"output\">PS C:\\&gt; Get-Module -List xJea\r\n\r\n    Directory: C:\\Users\\JuneB\\Documents\\WindowsPowerShell\\Modules\r\n\r\nModuleType Version    Name        ExportedCommands\r\n---------- -------    ----        ----------------\r\nManifest   0.2.10     xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}...\r\n\r\nPS C:\\&gt; Update-Module xJea -RequiredVersion 0.2.9\r\nPS C:\\&gt; Get-Module -List xJea\r\n\r\n    Directory: C:\\Users\\JuneB\\Documents\\WindowsPowerShell\\Modules\r\n\r\nModuleType Version    Name        ExportedCommands\r\n---------- -------    ----        ----------------\r\nManifest   0.2.10     xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}...\r\nManifest   0.2.9      xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}...\r\n<\/pre>\n<ul>\n<li>When\u00a0you use <strong>Update-Module<\/strong> with\u00a0the <strong>MaximumVersion<\/strong> parameter, it\u00a0determines whether\u00a0it has a version equal to or greater than the specified version. If it does and\u00a0if (IFF) the selected version is <strong>newer<\/strong> than the newest\u00a0version of the module\u00a0that is\u00a0installed, it installs the\u00a0selected version <strong>beside<\/strong> the current version in the same directory. Otherwise, it does nothing.<\/li>\n<\/ul>\n<pre class=\"output\">PS C:\\&gt; Get-Module -List xJea\r\n\r\n    Directory: C:\\Users\\JuneB\\Documents\\WindowsPowerShell\\Modules\r\n\r\nModuleType Version    Name        ExportedCommands\r\n---------- -------    ----        ----------------\r\nManifest   0.2.10     xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}...\r\nManifest   0.2.9      xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}...\r\n\r\nPS C:\\&gt; Find-Module -Name xJea -RequiredVersion 0.2.8\r\n\r\nVersion    Name      Type       Repository           Description\r\n-------    ----      ----       ----------           -----------\r\n0.2.8      xJea      Module     PSGallery            Module with DSC Resources f\r\n\r\n\r\nPS C:\\&gt; Update-Module -Name xJea -MaximumVersion 0.2.8\r\nPS C:\\&gt; Get-Module -List xJea\r\n\r\n    Directory: C:\\Users\\JuneB\\Documents\\WindowsPowerShell\\Modules\r\n\r\nModuleType Version    Name        ExportedCommands\r\n---------- -------    ----        ----------------\r\nManifest   0.2.10     xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}...\r\nManifest   0.2.9      xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}...\r\n\r\nPS C:\\&gt; Update-Module -Name xJea -MaximumVersion 0.2.11\r\nPS C:\\&gt; Get-Module -List -Name xJea\r\n\r\n    Directory: C:\\Users\\JuneB\\Documents\\WindowsPowerShell\\Modules\r\n\r\nModuleType Version    Name        ExportedCommands\r\n---------- -------    ----        ----------------\r\nManifest   0.2.11     xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}\r\nManifest   0.2.10     xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}\r\nManifest   0.2.9      xJea        {Show-JeaPresentation, show-JeaWhitePaper, Show-JeaExamples}\r\n<\/pre>\n<ul>\n<li>With the <strong>Force<\/strong> parameter, Update-Module skips all checks for versions currently installed on the computer. As a result, with -Force, Update-Module actually updates, that is, replaces, the specified version of the module if it&#8217;s already installed on the computer. If the requested version is not installed, Update-Module installs it, even if it&#8217;s older than an currently installed version.<\/li>\n<\/ul>\n<pre class=\"output\">PS C:\\&gt; Update-Module -Name xJea -RequiredVersion 0.2.10 -Verbose\r\n<span style=\"color: yellow;\">VERBOSE: Checking for updates for module 'xJea'.\r\nVERBOSE: Repository details, Name = 'PSGallery', Location = 'https:\/\/www.powershellgallery.co\r\nIsRegistered = 'True'.\r\nVERBOSE: Using the provider 'PowerShellGet' for searching packages.\r\nVERBOSE: Using the specified source names : 'PSGallery'.\r\nVERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.\r\nVERBOSE: The specified Location is 'https:\/\/www.powershellgallery.com\/api\/v2\/' and PackageMan\r\nVERBOSE: Searching repository 'https:\/\/www.powershellgallery.com\/api\/v2\/FindPackagesById()?id\r\nVERBOSE: Total package yield:'1' for the specified package 'xJea'.\r\nVERBOSE: Skipping installed module xJea 0.2.10.<\/span>\r\n\r\nPS C:\\&gt; Update-Module -Name xJea -RequiredVersion 0.2.10 -Verbose -Force\r\n<span style=\"color: yellow;\">VERBOSE: Checking for updates for module 'xJea'.\r\nVERBOSE: Repository details, Name = 'PSGallery', Location = 'https:\/\/www.powershellgallery.co\r\nIsRegistered = 'True'.\r\nVERBOSE: Using the provider 'PowerShellGet' for searching packages.\r\nVERBOSE: Using the specified source names : 'PSGallery'.\r\nVERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.\r\nVERBOSE: The specified Location is 'https:\/\/www.powershellgallery.com\/api\/v2\/' and PackageMan\r\nVERBOSE: Searching repository 'https:\/\/www.powershellgallery.com\/api\/v2\/FindPackagesById()?id\r\nVERBOSE: Total package yield:'1' for the specified package 'xJea'.\r\nVERBOSE: Performing the operation \"Update-Module\" on target \"Version '0.2.10' of module 'xJea\r\nVERBOSE: The installation scope is specified to be 'CurrentUser'.\r\nVERBOSE: The specified module will be installed in 'C:\\Users\\JuneBlender\\Documents\\WindowsPow\r\nVERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.\r\nVERBOSE: Downloading module 'xJea' with version '0.2.10' from the repository 'https:\/\/www.pow\r\nVERBOSE: Searching repository 'https:\/\/www.powershellgallery.com\/api\/v2\/FindPackagesById()?id\r\nVERBOSE: InstallPackage' - name='xJea', version='0.2.10',destination='C:\\Users\\JuneBlender\\Ap\r\nVERBOSE: DownloadPackage' - name='xJea',\r\nversion='0.2.10',destination='C:\\Users\\JuneBlender\\AppData\\Local\\Temp\\1556275497\\xJea\\xJea.nu\r\nuri='https:\/\/www.powershellgallery.com\/api\/v2\/package\/xJea\/0.2.10'\r\nVERBOSE: Downloading 'https:\/\/www.powershellgallery.com\/api\/v2\/package\/xJea\/0.2.10'.\r\nVERBOSE: Completed downloading 'https:\/\/www.powershellgallery.com\/api\/v2\/package\/xJea\/0.2.10'\r\nVERBOSE: Completed downloading 'xJea'.\r\nVERBOSE: InstallPackageLocal' - name='xJea', version='0.2.10',destination='C:\\Users\\JuneBlend\r\nVERBOSE: Module 'xJea' was installed successfully.<\/span>\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>If you&#8217;re worried about side-by-side versions, you can use the <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/mt653990.aspx\" target=\"_blank\">Get-InstalledModule<\/a> and <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/mt653996.aspx\">Uninstall-Module<\/a> cmdlets to uninstall\u00a0all older versions.<\/p>\n<pre class=\"output\">PS C:\\&gt; Get-InstalledModule -Name xJea -AllVersions\r\n\r\nVersion    Name         Type       Repository           Description\r\n-------    ----         ----       ----------           -----------\r\n0.2.10     xJea         Module     PSGallery            Module with DSC\r\n0.2.11     xJea         Module     PSGallery            Module with DSC\r\n0.2.8      xJea         Module     PSGallery            Module with DSC\r\n0.2.9      xJea         Module     PSGallery            Module with DSC\r\n\r\nPS C:\\&gt; Get-InstalledModule -Name xJea -AllVersions | \r\n           Sort Version -Descending | \r\n           Select-Object -Skip 1 | \r\n           Uninstall-Module\r\n\r\nPS C:\\&gt; Get-InstalledModule -Name xJea -AllVersions\r\n\r\nVersion    Name       Type       Repository           Description\r\n-------    ----       ----       ----------           -----------\r\n0.2.11     xJea       Module     PSGallery            Module with DSC Resources for Just Enough Ad\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>So, how does <strong>Update-Module<\/strong> differ from the <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dn807162.aspx\" target=\"_blank\">Install-Module<\/a> cmdlet?<\/p>\n<ul>\n<li>\u00a0It install only newer versions of the module (without <strong>-Force<\/strong>).<\/li>\n<li>\u00a0It always installs its versions of the module in the same directory. It doesn&#8217;t not have a <strong>Scope<\/strong> or <strong>Path<\/strong>\u00a0parameter.<\/li>\n<li>\u00a0It does not have\u00a0a <strong>MinimumVersion<\/strong> parameter.<\/li>\n<li>\u00a0None of the parameters have a <strong>Version<\/strong> alias.\u00a0In the\u00a0<strong>Import-Module<\/strong>, <strong>Find-Module<\/strong>, <strong>Save-Module<\/strong>, and <strong>Install-Module<\/strong> cmdlets, <strong>-Version<\/strong> is an alias for the <strong>MinimumVersion<\/strong> parameter.<\/li>\n<\/ul>\n<p>And, just to make things interesting, the new <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/mt653997.aspx\" target=\"_blank\">Update-Script<\/a> cmdlet actually updates the specified script. It does not install a newer version of the script in the same directory or in a versioned subdirectory.<\/p>\n<p>In summary, Update-Module is great, but you need to understand how it works.<\/p>\n<p><em>June Blender is a technology evangelist at SAPIEN Technologies, Inc. and a Windows PowerShell MVP. You can reach her at <\/em><a href=\"mailto:juneb@sapien.com\"><em>juneb@sapien.com<\/em><\/a><em>\u00a0and follow her on Twitter at <\/em><a href=\"https:\/\/twitter.com\/juneb_get_help\"><em>@juneb_get_help<\/em><\/a><em>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Applies to: &#8212; Windows PowerShell 5.0.10586.63 &#8212; PowerShellGet 1.0.0.1 I&#8217;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\u00a0PowerShellGet module. However, you really need to understand how it works before you use it. Otherwise, you might end up [&hellip;]<\/p>\n","protected":false},"author":31,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[932,1034,2,283,941,703,25],"tags":[934,551,28,961,1016,1053,57],"class_list":["post-11130","post","type-post","status-publish","format-standard","hentry","category-beginners","category-best-practices","category-general","category-howto","category-powershell-5-0","category-powershell-studio","category-windows-powershell","tag-juneb","tag-modules","tag-powershell","tag-powershell-5-0","tag-powershell-studio","tag-powershellget","tag-scripting"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Applies to: -- Windows PowerShell 5.0.10586.63 -- PowerShellGet 1.0.0.1 I&#039;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\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"June Blender\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"DEV SAPIEN Blog - Tools for IT Success\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Update-Module 5.0 adds, not updates - DEV SAPIEN Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Applies to: -- Windows PowerShell 5.0.10586.63 -- PowerShellGet 1.0.0.1 I&#039;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\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-02-17T14:00:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-02-10T16:23:26+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Update-Module 5.0 adds, not updates - DEV SAPIEN Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Applies to: -- Windows PowerShell 5.0.10586.63 -- PowerShellGet 1.0.0.1 I&#039;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\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/02\\\/17\\\/update-module-5-0-adds-not-updates\\\/#blogposting\",\"name\":\"Update-Module 5.0 adds, not updates - DEV SAPIEN Blog\",\"headline\":\"Update-Module 5.0 adds, not updates\",\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"},\"datePublished\":\"2016-02-17T06:00:41-08:00\",\"dateModified\":\"2016-02-10T08:23:26-08:00\",\"inLanguage\":\"en-US\",\"commentCount\":15,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/02\\\/17\\\/update-module-5-0-adds-not-updates\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/02\\\/17\\\/update-module-5-0-adds-not-updates\\\/#webpage\"},\"articleSection\":\"Beginners, Best practices, General, Howto, PowerShell 5.0, PowerShell Studio, Windows PowerShell, juneb, modules, powershell, powershell 5.0, PowerShell Studio, PowerShellGet, scripting\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/02\\\/17\\\/update-module-5-0-adds-not-updates\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"position\":2,\"name\":\"Software News\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/#listItem\",\"name\":\"PowerShell Studio\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/#listItem\",\"position\":3,\"name\":\"PowerShell Studio\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/02\\\/17\\\/update-module-5-0-adds-not-updates\\\/#listItem\",\"name\":\"Update-Module 5.0 adds, not updates\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/02\\\/17\\\/update-module-5-0-adds-not-updates\\\/#listItem\",\"position\":4,\"name\":\"Update-Module 5.0 adds, not updates\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/#listItem\",\"name\":\"PowerShell Studio\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/\",\"name\":\"June Blender\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/02\\\/17\\\/update-module-5-0-adds-not-updates\\\/#webpage\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/02\\\/17\\\/update-module-5-0-adds-not-updates\\\/\",\"name\":\"Update-Module 5.0 adds, not updates - DEV SAPIEN Blog\",\"description\":\"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\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/02\\\/17\\\/update-module-5-0-adds-not-updates\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\"},\"datePublished\":\"2016-02-17T06:00:41-08:00\",\"dateModified\":\"2016-02-10T08:23:26-08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Update-Module 5.0 adds, not updates - DEV SAPIEN Blog","description":"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","canonical_url":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/#blogposting","name":"Update-Module 5.0 adds, not updates - DEV SAPIEN Blog","headline":"Update-Module 5.0 adds, not updates","author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author"},"publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"},"datePublished":"2016-02-17T06:00:41-08:00","dateModified":"2016-02-10T08:23:26-08:00","inLanguage":"en-US","commentCount":15,"mainEntityOfPage":{"@id":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/#webpage"},"isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/#webpage"},"articleSection":"Beginners, Best practices, General, Howto, PowerShell 5.0, PowerShell Studio, Windows PowerShell, juneb, modules, powershell, powershell 5.0, PowerShell Studio, PowerShellGet, scripting"},{"@type":"BreadcrumbList","@id":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/dev.sapien.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","position":2,"name":"Software News","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/#listItem","name":"PowerShell Studio"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/#listItem","position":3,"name":"PowerShell Studio","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/#listItem","name":"Update-Module 5.0 adds, not updates"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/#listItem","position":4,"name":"Update-Module 5.0 adds, not updates","previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/#listItem","name":"PowerShell Studio"}}]},{"@type":"Organization","@id":"https:\/\/dev.sapien.com\/blog\/#organization","name":"DEV SAPIEN Blog","description":"Tools for IT Success","url":"https:\/\/dev.sapien.com\/blog\/"},{"@type":"Person","@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author","url":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/","name":"June Blender"},{"@type":"WebPage","@id":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/#webpage","url":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/","name":"Update-Module 5.0 adds, not updates - DEV SAPIEN Blog","description":"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","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/#breadcrumblist"},"author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author"},"creator":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author"},"datePublished":"2016-02-17T06:00:41-08:00","dateModified":"2016-02-10T08:23:26-08:00"},{"@type":"WebSite","@id":"https:\/\/dev.sapien.com\/blog\/#website","url":"https:\/\/dev.sapien.com\/blog\/","name":"DEV SAPIEN Blog","description":"Tools for IT Success","inLanguage":"en-US","publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"DEV SAPIEN Blog - Tools for IT Success","og:type":"article","og:title":"Update-Module 5.0 adds, not updates - DEV SAPIEN Blog","og:description":"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","og:url":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/","article:published_time":"2016-02-17T14:00:41+00:00","article:modified_time":"2016-02-10T16:23:26+00:00","twitter:card":"summary_large_image","twitter:title":"Update-Module 5.0 adds, not updates - DEV SAPIEN Blog","twitter:description":"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"},"aioseo_meta_data":{"post_id":"11130","title":null,"description":null,"keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-08-28 15:59:30","updated":"2026-08-28 15:59:30"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/\" title=\"Software News\">Software News<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/\" title=\"PowerShell Studio\">PowerShell Studio<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUpdate-Module 5.0 adds, not updates\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/dev.sapien.com\/blog"},{"label":"Software News","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/"},{"label":"PowerShell Studio","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/"},{"label":"Update-Module 5.0 adds, not updates","link":"https:\/\/dev.sapien.com\/blog\/2016\/02\/17\/update-module-5-0-adds-not-updates\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/11130","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\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=11130"}],"version-history":[{"count":12,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/11130\/revisions"}],"predecessor-version":[{"id":11142,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/11130\/revisions\/11142"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=11130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=11130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=11130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}