We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b1a29 commit d77cec3Copy full SHA for d77cec3
Niceties.ps1
@@ -7,7 +7,7 @@
7
If(!$PSScriptRoot){$PSScriptRoot = (Split-Path -Parent $MyInvocation.MyCommand.Defenition)}
8
9
#The shortest and fastest way I know of to add a procname to the end of a netstat in powershell
10
- $X=@{};PS|%{$X[$_.Id]=$_.Name};Netstat -ano|Select -Skip 4|%{"$_"+[Char]9+$X.[Int]$_.Substring(71)}
+ $X=@{};PS|%{$X[$_.Id]=$_.Name};Netstat -ano|Select -Skip 4|%{"$_="+$X.[Int]$_.Substring(71)}
11
12
#Circumvent the Set-ExecutionPolicy
13
Powershell.exe -Command "[ScriptBlock]::Create((Get-Content 'PATHTOSCRIPT.ps1')).Invoke()"
0 commit comments