question

contact-17 avatar image
contact-17 asked

How to get buildid from vmtag in powershell to delete it.

In a powershell script I want to get the server buildid from a tag name so I can automatically make it delete the previous instance. Unfortunately, I couldn't find anything about removing a playfab instance via the tag and the only way to delete is via the buildid.

How do I get the buildid string via referencing the tag name in powershell?

support
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Rick Chen avatar image Rick Chen ♦ commented ·

What is a vmtag? Do you mean the VM Id? Currently, there is no API to get the buildId from a VM Id. What do you mean by automatically delete the previous instance? To shut down a server instance you can use the Stop-PfMultiplayerServer command in PowerShell instead of deleting the entire build.

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.