From eaff91cc5187e0e63dc7316f387dd84ba9f5fedc Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 27 Apr 2024 00:13:29 +0000 Subject: [PATCH] Update cheatsheets --- tldr/git-bug | 4 ++-- tldr/git-bulk | 6 +++--- tldr/windows/ospp.vbs | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 tldr/windows/ospp.vbs diff --git a/tldr/git-bug b/tldr/git-bug index c6fff968..84d75623 100644 --- a/tldr/git-bug +++ b/tldr/git-bug @@ -17,11 +17,11 @@ source: https://github.com/tldr-pages/tldr.git `git bug add` -- You can push your new entry to a remote: +- Push a new bug entry to a remote: `git bug push` -- You can pull for updates: +- Pull for updates: `git bug pull` diff --git a/tldr/git-bulk b/tldr/git-bulk index 31113088..628914a1 100644 --- a/tldr/git-bulk +++ b/tldr/git-bulk @@ -17,13 +17,13 @@ source: https://github.com/tldr-pages/tldr.git `git bulk --addworkspace {{workspace_name}} {{/absolute/path/to/repository}}` -- Clone a repository inside a specific directory then register the repository as a workspace: +- Clone a repository inside a specific directory, then register the repository as a workspace: `git bulk --addworkspace {{workspace_name}} {{/absolute/path/to/parent_directory}} --from {{remote_repository_location}}` -- Clone repositories from a newline-separated list of remote locations then register them as workspaces: +- Clone repositories from a newline-separated list of remote locations, then register them as workspaces: -`git bulk --addworkspace {{workspace-name}} {{/path/to/root/directory}} --from {{/path/to/file}}` +`git bulk --addworkspace {{workspace_name}} {{/path/to/root/directory}} --from {{/path/to/file}}` - List all registered workspaces: diff --git a/tldr/windows/ospp.vbs b/tldr/windows/ospp.vbs new file mode 100644 index 00000000..bcefb1e6 --- /dev/null +++ b/tldr/windows/ospp.vbs @@ -0,0 +1,34 @@ +--- +syntax: markdown +tags: [tldr, windows] +source: https://github.com/tldr-pages/tldr.git +--- +# 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`