简体   繁体   English

从本地 Service Fabric 中删除旧的应用程序物理文件夹

[英]Delete old Applications Physical folders from Service Fabric on-Premise

I am trying to delete old packages from Service Fabric On premise Via Powershell.我正在尝试通过 Powershell 从 Service Fabric On Premise 中删除旧包。 I tried to un-register but it doesn't delete the folders from nodes and I am unable to find the ImageStore Package Path (if exist) to run Remove-ServiceFabricApplicationPackage... Any idea?我试图取消注册,但它没有从节点中删除文件夹,我无法找到 ImageStore 包路径(如果存在)来运行 Remove-ServiceFabricApplicationPackage ... 知道吗?

By default, the imagestore service holds the packages as its State.默认情况下, imagestore服务将包保存为它的状态。

Delete applications by using使用删除应用程序

Remove-ServiceFabricApplicationPackage -ApplicationPackagePathInImageStore MyApplicationV1 -ImageStoreConnectionString (Get-ImageStoreConnectionStringFromClusterManifest (Get-ServiceFabricClusterManifest))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Team Services部署到本地Service Fabric,而没有暴露的终结点 - Team Services deploy to on-premise Service Fabric without exposed endpoint Azure DevOps - 清理本地服务器上的旧版本? - Azure DevOps - Clean up old releases on on-premise server? 如何从 Azure Powershell 运行手册连接到本地 SQL 服务器? - How to connect to an on-premise SQL Server from Azure Powershell runbook? Powershell-删除旧文件夹,但不删除旧文件 - Powershell - delete old folders but not old files 在 Service Fabric 中取消预配旧应用程序类型版本的策略 - Strategy to unprovision old applicationtype versions in Service Fabric PowerShell脚本回显文件夹和子文件夹中的文件,然后删除X天前的文件 - PowerShell script to echo files from folders and subfolders and then delete files over X days old 从 powershell 部署 Service Fabric 应用程序,无需 Service Fabric SDK - Deploy Service fabric application from powershell without service fabric SDK 从 CSV 列表中删除文件夹 - Delete Folders from CSV List 如何在 PowerShell 中使用 CSOM 连接到本地 SharePoint 2013 - How to connect to SharePoint 2013 on-premise using CSOM in PowerShell 如何从多个文件夹中删除文件,不包括几个文件夹? - How to delete files from multiple folders excluding couple of folders?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM