Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

PowerShell get a list of network machines

Soemtimes the old school way is the easiest.

net view

Here's another thing you can do (depending on your worgroup name).

([adsi]"WinNT://WORKGROUP").Children

Piggy-backing on Shay's answer:

([adsi]"WinNT://$((Get-WMIObject Win32_ComputerSystem).Domain)").Children

This will grab your domain or workgroup name and use that for you.

Tags:

Powershell

Related

Differences between "git pull" commands when pulling from origin? Why does Visual Studio generate these additional files? 'Java' is not recognized as an internal or external command What is the difference between ports 465 and 587? Partial git apply Getting all GitHub users through github-api PHPunit can't find tests Show Download progress inside activity using DownloadManager Eclipse error ... cannot be resolved to a type NSJSONSerialization serialization of a string containing forward slashes / and HTML is escaped incorrectly Serial Port (RS -232) Connection in C++ decorator to set attributes of function

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy