2 ms·
I started out code-golfing Project Euler problems in PowerShell and later noticed that because it's .NET-based it can complement .NET development fairly well. E
by ygra 13y ago
I started out code-golfing Project Euler problems in PowerShell and later noticed that because it's .NET-based it can complement .NET development fairly well. Examples below are all things I did recently.
Need to fiddle around with a format string to get it right?
'{0:yyyy-MM-dd}' -f (Get-Date)
Or need to quickly test a web service whether the new method works correctly?
$p = New-WebServiceProxy http://localhost/FooService.svc
$p.AwesomeMethod()
Or quickly figure out whether a license key matches with the lib you have lying around anyway:
Add-Type -Path key.dll
[Key.LicenseKey]::Check('...')
For me it dramatically reduced the number of ConsoleApplication8624 projects in VS. In any case, if there are questions you can also drop me a mail.
- marshray 13y agoCool, thanks again