Categories
- Education (6)
- Fix IT (29)
- Information Technology (53)
- Tips (6)
- Uncategorized (7)
Tags
Category Archives: Information Technology
Kill all but own powershell process
use the following command within powershell to terminate all but your one shell. get-process | where {$_.name -like “powershell” -and $_.ID -notlike “$pid”} | stop-process
Posted in Information Technology
Tagged Powershell
Comments Off on Kill all but own powershell process
Install Telnet Client using command line
dism /online /Enable-Feature /FeatureName:TelnetClient
Posted in Information Technology
Tagged commandline
Comments Off on Install Telnet Client using command line
List disk drives into an array
This Powershell script ist playing with an “athook” object based on an array having different named properties . $Array = @() Foreach ($vol In GET-WMIOBJECT win32_logicaldisk) { $obj = New-Object PSObject $Value = $vol.DeviceID $obj | Add-Member -MemberType NoteProperty -Name "Drive" -value … Continue reading