-
-
Save vishaldpw/61a9eb9c19bf5f73a4d9a3245910e9ed to your computer and use it in GitHub Desktop.
Powershell Cheatsheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Windows IP Config | |
| ipconfig | |
| Get-NetIPAddress -AddressFamily IPV4 -InterfaceAlias Wi-Fi | Select IPAddress | |
| # When you want to download a list of files in files.txt having header as `sources,` | |
| Import-Csv .\files.txt | Start-BitsTransfer | |
| # Ping equivalent in PS | |
| Test-Connection -ComputerName (hostname) -Count 1 | |
| # Show list of files containing text "REQUEST_INSTALL_PACKAGES" in a current directory | |
| Get-ChildItem -Recurse | Select-String "REQUEST_INSTALL_PACKAGES" -List | Select Path | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First Commit