Welcome to the Svendsen Tech Wiki.
It's about PowerShell, music(!), Perl, Python, Linux, Windows, technology, programming, system administration and that which seems relevant - plus pseudorandom crap (almost literally here).
I feel a need to mention that this wiki has been a work in progress and I've learned and picked up new things along the way. The early articles don't always conform to my current preferred code style and are sometimes poorly structured (that still happens somewhat). The code style is influenced heavily by the official guidelines. The style guidelines can be found here (I haven't read all of them yet), and the community guidelines are here.
I am considering (and have indeed sporadically been) rewriting some of the code, but it's tedious and it should mostly be fine logically and functionally, so the motivation is somewhat lacking.
Click here to see that, woo, I'm an expert, and should have been a "genius" :P - if I had had a moment's peace during the test.
- Linux - I haven't been too kind to Tux yet. Not a lot of content.
- Windows (includes PowerShell articles)
- Python - Getting started on this topic.
Look, Mom! I'm a Recording Artist!
Hobbies. Music used to be a hobby that might be facing a small resurrection, with signs of age, wear and tear.
My "artist name" is ... my name: Joakim Borger Svendsen. Globally unique so far.
Now I have a few songs out. The one I will now "promote" the most is the one for a woman who helped me grow in ways there's no price tag on.
Links to "A Song for You", written by Leon Russell and originally performed by Donny Hathaway, in my cover version for both my dad and my wife:
- Spotify: https://open.spotify.com/track/2CGyzENWSIQUASluqR1onD?si=FHRvXCYpTFSTki-ErVQZtQ
- Tidal: https://tidal.com/browse/track/113559568
- Apple Music / iTunes: https://music.apple.com/no/album/a-song-for-you-full-version-single/1473491407
- YouTube: https://youtu.be/6qeYV10-yyA
For further digging into my musical side:
- Here's my Spotify artist page.
- Here's my Tidal artist page.
- Here's the YouTube channel my "record company" created for me.
Although I promote the song that's closest to my heart, this one's got more spark. The (cover song) single "Girl, I Wanna Lay You Down" (clean, friendly lyrics, non-explicit, promise!) was recorded with average Aiwa or Logitech speakers playing into a room with me and a cheap USB mic from China. One take, mono, live, horrible conditions. You get the picture: far from optimal recording conditions. Somehow the recording lingered on my disks and my clouds since what I now think was most likely the year 2012. Shortly after having been uploaded on June 11, 2019 this record became available on major (and minor) streaming services such as Amazon, Apple Music, iTunes, Spotify, Tidal, etc. etc.
I'll provide links to a couple of popular streaming services where I found a link directly to the first released song.
Joakim Borger Svendsen - Girl I Wanna Lay You Down
- Spotify: https://open.spotify.com/track/1TUprmawa97EtStbzni5DK?si=rM-tXvtJT2m0wk80WWJHGw
- Tidal: https://tidal.com/browse/track/111113506
- YouTube: https://www.youtube.com/watch?v=ysDnFV-QxUs
Here's a small version of the cover art that accurately reflects how friendly it is :)
Don't Forget to Donate!
If you find something here useful and want to reward my efforts, please consider donating a small amount. It's greatly appreciated even if it is done mostly as a gesture. Or put my songs on repeat for 24 hours, happily muted by external speakers, whichever you prefer!
- A Merge-Csv advanced function - Combines CSV files or custom PowerShell objects based on one or more shared columns/headers/properties (an ID column - such as one containing usernames) and creates a joined version with all columns from all files. Some consistency checking and reporting is done.
- A Module With SSH Cmdlets For PowerShell - Pretty cool stuff. Based on the SSH.NET library found on GitHub. Connect to, execute commands against and collects results from multiple hosts via SSH, using this ready-made module.
- PowerShell foreach Loops And The ForEach-Object Cmdlet - Learn about foreach loops in PowerShell, and the ForEach-Object cmdlet used for pipeline processing.
- Get Folder Sizes with PowerShell, Blazingly Fast - Uses COM with a fallback to robocopy to avoid 260-character limit on path length seen with Get-ChildItem/.NET, and is also very fast.
- PSnmap - A PowerShell nmap-like program. TCP port scan subnets using CIDR notation, IP/subnet, IP or DNS/NetBIOS names. Runspaces for concurrency.
- PSipcalc - Retrieve network information about subnets and enumerate IPs in subnets with PSipcalc - a sort of PowerShell clone of the Linux ipcalc utility.
- STOXR - Currency Conversion Software - Open Exchange Rates API - Software to help automate currency conversion tasks using PowerShell/.NET. Fully functional trial version.
- Invoke-PsExec for PowerShell - cmdlet for streamlining use of PsExec.exe from PowerShell. Asynchronous with runspaces.
- ConvertTo-Json for PowerShell version 2 - If you need to create JSON in a generic, quite seamless way and need to do it with PowerShell version 2 (default in Windows Server 2008 R2 and Windows 7, but both these operating system can be upgraded to later versions of PowerShell (unless you run Exchange 2010, SharePoint in some version I forgot and something else I forgot)).
- The PowerShell Where-Object cmdlet - Learn about PowerShell's Where-Object cmdlet.
- The PowerShell for loop - Learn about regular for loops in PowerShell.
- Get-WmiObject-Wrapper - A wrapper around Get-WmiObject that collects data from online servers/workstations and stores it in XML format. There's also a custom XML parser for generating CSV/other reports based on the XML schema Get-WmiObject-Wrapper uses. It's more useful than it sounds!
- PowerShell Benchmarking Module Built Around Measure-Command - When you want an easy-to-use interface to benchmarking multiple runs of code in script blocks you specify.
- PowerShell Regular Expressions - Examples and details on most use cases for regular expressions with .NET/PowerShell. It's a comprehensive article.
- https://microsoft.com/powershell - Microsoft's PowerShell page.
- http://poshcode.org - PowerShell Script Repository site run by Joel Bennett.
- http://powershell.org - A PowerShell community site.
- http://gallery.technet.microsoft.com/scriptcenter/ - Technet Script Center Repository
- http://www.powershellgallery.com/pages/GettingStarted - Microsoft's PowerShell Gallery - an online script/module repository with built-in access in PSv5 and up.
- http://www.cpan.org - CPAN, The Comprehensive Perl Archive Network - with about 100,000 already written modules
- http://powershellhelp.space - PowerShell Help Files Encyclopedia/Archive on the web for PSv2, 3, 4, and 5.
- http://social.technet.microsoft.com/wiki/contents/articles/183.windows-powershell-survival-guide-en-us.aspx - Lots of PowerShell goodness.
- http://www.howtogeek.com/114344/5-cmdlets-to-get-you-started-with-powershell - 5 good PowerShell "beginner" cmdlets to start out with.
- http://richardspowershellblog.wordpress.com/ - Richard Siddaway's PowerShell blog.
- http://rkeithhill.wordpress.com/ - Keith Hill's PowerShell blog.
- http://huddledmasses.org/blog/ - PowerShell MVP Joel Bennett's PowerShell and technology blog
- http://www.dougfinke.com/blog/ - PowerShell MVP Doug Finke's blog.
- http://www.indented.co.uk/index.php/category/powershell/ - Chris Denty's PowerShell blog.
- http://www.mwjcomputing.com/category/powershell/ - Matt Johnson's PowerShell blog.
- http://www.blkmtn.org/ - Steven Peck's website about PowerShell and other tech stuff.
- http://www.leeholmes.com/blog/ - PowerShell developer Lee Holmes' blog.
- http://jfrmilner.wordpress.com/ - John Milner's PowerShell/tech blog.
- http://www.reddit.com/r/PowerShell/ - The PowerShell thread on reddit.
- http://blogs.msdn.com/b/powershell/ - MSDN PowerShell Blog
- http://powershell.com/cs/blogs/ebookv2/ - Tobias Weltner's free PowerShell ebook. Appropriate for beginners.
- http://www.hofferle.com/list-of-free-powershell-ebooks/ - A list of free PowerShell ebooks.
- http://www.amazon.com/dp/1617291080 - For people starting out. Don Jones' "PowerShell in a month of lunches" book.
- http://j.mp/1i29RAh - Intermediate. PowerShell Toolmaking.
- http://www.manning.com/payette2/ - For experts. PowerShell in Action by Bruce Payette, a core PowerShell team member. Now in some ways dated since it's about version 2 and when you're reading this there are later versions, but provides solid knowledge that is reusable in later versions, but can sometimes be optimized or done differently/better in these later versions.
- https://www.manning.com/books/windows-powershell-in-action-third-edition - Good news! PowerShell in Action is now updated, still with Bruce behind the wheel, now together with Richard Siddaway, to cover even PowerShell Core/6 (at the time of writing in alpha, seemingly).
- http://j.mp/1dhUwXO - Doug Finke's PowerShell for Developers book.