You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
ValveTime.co.uk | Valve News, Forums, Steam
in console first type
"hopwire_vortex 1"
then
"give weapon_hopwire"
now throw it and then press attack again to activate it. It is preferable to do it in an area with lots of physics objects, I also suggest you stand back lest you wish to be crushed into singularity.