4 ms·
> PS. If you're coming from a Unix background and interested in learning posh: https://certsimple.com/rosetta-stone https://certsimple.com/rosetta-stone I stop
by daveloyall 11y ago
> PS. If you're coming from a Unix background and interested in learning posh: https://certsimple.com/rosetta-stone https://certsimple.com/rosetta-stone
I stopped reading this when I got to this part:
whois 'domain [domain name]'
-->
$web = New-WebServiceProxy 'http://www.webservicex.net/whois.asmx?WSDL'
$web.GetWhoIs('[domain name]')
It's cute that there is some kind of VBScript for calling web services, but this line tells me that this document must have been authored by some kind of PowerShell apologist.
Just put none in the `whois` box and move on.
- voltagex_ 11y agoOr hell, use something like https://github.com/bone187/PowerShell-Whois/blob/master/whois.ps1 https://github.com/bone187/PowerShell-Whois/blob/master/whoi.... I like PowerShell but sometimes the community makes me wonder.
- nailer 11y agoThat's certainly a lot cleaner than using the WSDL implementation. I've bumped the release on npm and used this instead - thank you. If anyone else on HN wants to add anything, the source is just markdown, so you can hack away (gulp does the HTML building and JS does the interactivity): https://github.com/certsimple/rosetta-stone/blob/master/rosetta-stone.md https://github.com/certsimple/rosetta-stone/blob/master/rose...
- nailer 11y agoThe main aim is to be useful. Someone who wants to lookup Whois is better served by giving them something that will achieve that task. If you have other suggestions though, send a pull request. The project has already gotten a bunch from the SmartOS and FreeBSD communities.
- daveloyall 11y agoIf I could send a pull request to Microsoft for inclusion of a legit whois binary on their OS--nope, you're right, I'm just full of spite on this subject. :)
- ryanlol 11y agoActually, pretty sure most linux distributions don't ship with the whois binary. (This is entirely based on the fact that I find myself installing it far too often)
- daveloyall 11y agoThat's a feature. My initial installations don't include much. Tools are installed the first time I need to use them.