BlackOps Consulting

BlackOps Consulting

Category: Content
Type: Blog Article

Generated 2 weeks ago

New blog articles detected

  • Get path and name of process by port

    This needs to run as an administrator to get paths for all processes This one liner gets the path of the process that is using local port 61119 ([System.Diagnostics.Process]::GetProcessById((Get-NetTCPConnection -localport 61119).owningprocess)).path This will get you a list of process identifiers (PID) sorted by local port Get-NetTCPConnection | select localport, owningprocess | sort localport Fi...

  • Find something on your HD

    I was trying to search for something on a large file system, but between circular references in symbolic links creating errors with long paths etc it was harder than I thought it should be. Here is some quick powershell to do a recursive, case insensative search while skipping symbolic links, but it does pick up […] The post Find something on your HD appeared first on BlackOps.

Out-Market Your Competitors

Get complete competitive insights on over 2.2 million companies to drive your marketing strategy.

Create Free Account Log in

Out-Market Your Competitors

Get complete competitive insights on over 2.2 million companies to drive your marketing strategy.

Create Free Account

Already a user?  Log in