vault backup: 2024-10-28 23:11:10

Affected files:
docs/Command Snippets/Command Snippets.md
docs/Command Snippets/Windows Snippets.md
This commit is contained in:
Keannu Bernasol 2024-10-28 23:11:10 +08:00
parent 06f212838e
commit b11d8ea41c
2 changed files with 6 additions and 0 deletions

View file

@ -2,3 +2,4 @@
- [Bash Commands](Bash%20Commands.md) - [Bash Commands](Bash%20Commands.md)
- [Docker - Miscellaneous](Docker%20-%20Miscellaneous.md) - [Docker - Miscellaneous](Docker%20-%20Miscellaneous.md)
- [Docker Run](Docker%20Run.md) - [Docker Run](Docker%20Run.md)
- [Windows Snippets](Windows%20Snippets.md)

View file

@ -0,0 +1,5 @@
- Get IP addresses of Hyper-V VMs
```powershell
get-vm | ?{$_.State -eq "Running"} | select -ExpandProperty networkadapters | select vmname, macaddress, switchname, ipaddresses | ft -wrap -autosize
```
- Enable t