I am working on a windows server 2k12 (VM), is there an easier way beside netstat, to scan/view all open ports/process in windows server with powershell.
I also use window firewall, but I was told its not sure/all encompassing view open ports, is this true?
Can you help me wrap the two into a powershell script, and in the second script, how can I get the app names into the commands
- Scan/display all open ports
netstat –ano ¦find /i “listening”
this is a console view, and does not have the process name, I have to manually look at the PID in task manager to correlate the process name, while I mostly use this, I see TCPeye and CurrPorts, but they both seem to be for older versions of the server. Is there a function or feature inside server manager? Run/Install a bunch of programs located a folder - (for e.g. I have a collection of files I need to install, notepad++, Systernals etc, that I put in the software folder on my desktop)
Install-Application -InstallerPath \\server\Desktop$\SoftwareFolder\
(how to find the application/exes in the folder)-InstallerParameters "/S" -RegistryKey HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
(some appName)-RegistryName DisplayVersion -RegistryValue 6.7.8.2 -LogPath \\Server\Software$\logfiles\