Compare commits
2 commits
2b2987b8d1
...
5af1cd184e
Author | SHA1 | Date | |
---|---|---|---|
|
5af1cd184e | ||
|
bd69f43aa6 |
3 changed files with 14 additions and 2 deletions
|
@ -9,6 +9,6 @@ This is a collection of Command Prompt and PowerShell commands and scripts I hav
|
||||||
There's nothing crazy in here (yet). Just some things I didn't want to commit to memory. These assume you have some know how, but not much. I've made READMEs, comments, and other notes where I felt appropriate. But please read and understand each command/script before using. And of course, feel free to tweak to your own needs.
|
There's nothing crazy in here (yet). Just some things I didn't want to commit to memory. These assume you have some know how, but not much. I've made READMEs, comments, and other notes where I felt appropriate. But please read and understand each command/script before using. And of course, feel free to tweak to your own needs.
|
||||||
|
|
||||||
### Table of Contents:
|
### Table of Contents:
|
||||||
cmd-commands.md = A document collecting Windows Command Line commands
|
cmd-commands.md = A document collecting Windows Command Line commands
|
||||||
ps-commands.md = A document collecting Windows PowerShell commands
|
ps-commands.md = A document collecting Windows PowerShell commands
|
||||||
ps-scripts/ = A folder containing various PowerShell scripts
|
ps-scripts/ = A folder containing various PowerShell scripts
|
|
@ -18,6 +18,16 @@ Be cautious if running these commands while remotely connecting to another compu
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
### Clear Recycle Bin for All Users
|
||||||
|
|
||||||
|
Run in an elevated Command Prompt:
|
||||||
|
|
||||||
|
```
|
||||||
|
rd /s /q c:\$Recycle.Bin
|
||||||
|
```
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
### SFC & DISM Commands
|
### SFC & DISM Commands
|
||||||
|
|
||||||
The following commands will repair/replace corrupted/missing system files, as well as clear up disk space. They must all be ran in an elevated Command Prompt:
|
The following commands will repair/replace corrupted/missing system files, as well as clear up disk space. They must all be ran in an elevated Command Prompt:
|
||||||
|
|
|
@ -14,6 +14,8 @@ Note: unless otherwise stated, replace any variable such as `$ComputerName` with
|
||||||
(Get-CimInstance -Class Win32_ComputerSystemProduct -ComputerName $ComputerName).UUID
|
(Get-CimInstance -Class Win32_ComputerSystemProduct -ComputerName $ComputerName).UUID
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
### Remotely Fetch a (Partial) Installed Program List for $ComputerName
|
### Remotely Fetch a (Partial) Installed Program List for $ComputerName
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue