Title: AzureRM.* modules held in use by PSSA when Cluster 0.0.0.1 is scanned, prevents uninstall · Issue #841 · PowerShell/PSScriptAnalyzer · GitHub
Open Graph Title: AzureRM.* modules held in use by PSSA when Cluster 0.0.0.1 is scanned, prevents uninstall · Issue #841 · PowerShell/PSScriptAnalyzer
X Title: AzureRM.* modules held in use by PSSA when Cluster 0.0.0.1 is scanned, prevents uninstall · Issue #841 · PowerShell/PSScriptAnalyzer
Description: Repro steps Install-Module -Name Cluster -RequiredVersion 0.0.0.1 -Repository PSGallery # This depends on AzureRM, which in turn depends on 45 AzureRM.* modules. # All get downloaded at install. Invoke-ScriptAnalyzer -Path [PathToCluster...
Open Graph Description: Repro steps Install-Module -Name Cluster -RequiredVersion 0.0.0.1 -Repository PSGallery # This depends on AzureRM, which in turn depends on 45 AzureRM.* modules. # All get downloaded at install. In...
X Description: Repro steps Install-Module -Name Cluster -RequiredVersion 0.0.0.1 -Repository PSGallery # This depends on AzureRM, which in turn depends on 45 AzureRM.* modules. # All get downloaded at install. In...
Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/issues/841
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AzureRM.* modules held in use by PSSA when Cluster 0.0.0.1 is scanned, prevents uninstall","articleBody":"### Repro steps\r\n```powershell\r\nInstall-Module -Name Cluster -RequiredVersion 0.0.0.1 -Repository PSGallery\r\n# This depends on AzureRM, which in turn depends on 45 AzureRM.* modules. \r\n# All get downloaded at install.\r\n\r\nInvoke-ScriptAnalyzer -Path [PathToCluster] -Recurse -Severity Error\r\n\r\nInvoke-ScriptAnalyzer -Path [PathToCluster] -Recurse -CustomerRulePath [someCustomRulesPath]\r\n\r\nUninstall-Module -Name Cluster -RequiredVersion 0.0.0.1\r\n# Succeeds\r\n\r\nUninstall-Module -Name AzureRM.Websites\r\n# One of the dependencies installed.\r\n# Fails to uninstall, says is currently in use.\r\n```\r\n\r\n### Expected Behavior\r\nI should be able to uninstall the AzureRM.* modules. I don't expect PSSA to hold on to them. \r\n\r\n\r\nWe are unable to uninstall any of the AzureRM.* modules because something in PSSA is holding on to them. This appears to only happen for the Cluster 0.0.0.1 module. \r\n ","author":{"url":"https://github.com/rebro-msft","@type":"Person","name":"rebro-msft"},"datePublished":"2017-12-06T22:54:33Z","url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/841"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bb56cef1-3454-fcc9-6b8a-f4ebf3910057 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC04:397D9C:1268D9:18CE3C:6AFCDC6D |
| html-safe-nonce | dc69d3d6c82f2d1bdd9c9a06f12223c6a7ab319c4944f0bd21a9d686923f55a7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzA0OjM5N0Q5QzoxMjY4RDk6MThDRTNDOjZBRkNEQzZEIiwidmlzaXRvcl9pZCI6IjY0NTk0MjA1NzIwMzQ4NDk5MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3d14f70ff0e0bd06bc491f28a069d2ceb217190626a072af5fc6acc2e70eb184 |
| hovercard-subject-tag | issue:279937007 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PSScriptAnalyzer/841/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02785343eb70aaa85d07438ca315ee8474d1ed4b7dfa7691a1218600d73fdf45/PowerShell/PSScriptAnalyzer/issues/841 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02785343eb70aaa85d07438ca315ee8474d1ed4b7dfa7691a1218600d73fdf45/PowerShell/PSScriptAnalyzer/issues/841 |
| og:image:alt | Repro steps Install-Module -Name Cluster -RequiredVersion 0.0.0.1 -Repository PSGallery # This depends on AzureRM, which in turn depends on 45 AzureRM.* modules. # All get downloaded at install. In... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rebro-msft |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0c05b7eb5b95e29725d01bb1f560a020e3fafd0f033c6b9ed3918fa3161254dd |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 33149177 |
| octolytics-dimension-repository_nwo | PowerShell/PSScriptAnalyzer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33149177 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PSScriptAnalyzer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 79d9154e55368884c8c93766ba4fee076343d37f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width