mirror of
https://github.com/lemeow125/Notes.git
synced 2024-11-17 04:09:26 +08:00
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:
parent
06f212838e
commit
b11d8ea41c
2 changed files with 6 additions and 0 deletions
|
@ -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)
|
5
docs/Command Snippets/Windows Snippets.md
Normal file
5
docs/Command Snippets/Windows Snippets.md
Normal 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
|
Loading…
Reference in a new issue