Update cheatsheets

This commit is contained in:
ivuorinen
2024-04-27 00:13:29 +00:00
parent 0b47930bfa
commit eaff91cc51
3 changed files with 39 additions and 5 deletions

View File

@@ -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`

View File

@@ -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:

34
tldr/windows/ospp.vbs Normal file
View File

@@ -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: <https://learn.microsoft.com/deployoffice/vlactivation/tools-to-manage-volume-activation-of-office>.
- 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`