From 993506f3c0a2f0cdfc72d6c941bc9a393e8b60f7 Mon Sep 17 00:00:00 2001 From: harygary Date: Fri, 26 Apr 2024 20:01:43 +0800 Subject: [PATCH] ospp.vbs: add page (#12666) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * windows/*: add more PowerShell commands * Update test-netconnection.md * Update test-netconnection.md * Update pages/windows/test-netconnection.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/windows/test-netconnection.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/windows/test-netconnection.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Create ospp.vbs.md * Update pages/windows/ospp.vbs.md Co-authored-by: K.B.Dharun Krishna * Update pages/windows/ospp.vbs.md Co-authored-by: K.B.Dharun Krishna * Update pages/windows/ospp.vbs.md Co-authored-by: K.B.Dharun Krishna * Update pages/windows/ospp.vbs.md Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/windows/ospp.vbs.md Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/windows/ospp.vbs.md Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/windows/ospp.vbs.md Co-authored-by: Juri Dispan --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com> Co-authored-by: Juri Dispan --- pages/windows/ospp.vbs.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/windows/ospp.vbs.md diff --git a/pages/windows/ospp.vbs.md b/pages/windows/ospp.vbs.md new file mode 100644 index 000000000..dac165de6 --- /dev/null +++ b/pages/windows/ospp.vbs.md @@ -0,0 +1,29 @@ +# ospp.vbs + +> Install, activate, and manage volume licensed versions of Microsoft Office products. +> Note: this command may override, deactivate, and/or remove your current volume of licensed Office product versions, so please proceed cautiously. +> More information: . + +- Install a product key (Note: it replaces the existing key): + +`cscript ospp.vbs /inpkey:{{product_key}}` + +- Uninstall an installed product key with the last five digits of the product key: + +`cscript ospp.vbs /unpkey:{{product_key_digits}}` + +- Set a KMS host name: + +`cscript ospp.vbs /sethst:{{ip|hostname}}` + +- Set a KMS port: + +`cscript ospp.vbs /setprt:{{port}}` + +- Activate installed Office product keys: + +`cscript ospp.vbs /act` + +- Display license information for installed product keys: + +`cscript ospp.vbs /dstatus`