Another small function from me today. And another one that I can’t take credit for. I found this one on poshcode, and just did some minor tweaking to it. It sends an ARP request to get the MAC address from an IPv4 address. (more…)
Get-MacAddressVendor
This little function uses the free API from www.macvendorlookup.com to lookup vendor information for a MAC Address. It’s really quite simple, and easy to use. It only have the one parameter; MacAddress, which defaults to the MAC address of the first network interface that is in use. (more…)
Encode/Decode Base64Url
As is often the case, when working on a project I end up needing some sub-task done and search the web to see if someone have done it before. In this particular instance I couldn’t find any ready-made solutions for PowerShell, but I did find that someone had written a couple of functions in c# that did exactly what I needed. Luckily, translating from c# to PowerShell isn’t that hard, so I thought I’d share the functions I wrote (translated) with you. (more…)
Let Active Directory Administrative Center help you learn PowerShell
Active Directory Administrative Center was introduced with Microsoft Windows Server 2008 R2, but was extended with a very useful new feature with Microsoft Windows Server 2012. This feature is called Windows PowerShell History Viewer and it’s quite a useful feature. Read on to learn more! (more…)
PowerShell Summit Europe 2015
Registration for this years PowerShell Summit Europe will open tomorrow, 27th of February. If you have any interest in PowerShell I would highly recommend attending this summit.
The PowerShell summit is organized by powershell.org and is the only purely PowerShell related international meetup, and a great place to meet the people behind PowerShell, as well as many of the top people within the community.
I attended last years summit in Amsterdam, and it was great! I met a lot of knowledgeable people and we had some great sessions, with great discussions in between.
Who is this summit for? If you have been using PowerShell for some time and feel you are past the beginner phase, this is for you! It’s a great place to learn, and to discuss with fellow PowerShell community members and I guarantee you will learn new stuff and get new contacts/friends from all over Europe.
If you are interested in attending yourself, head on over to http://powershell.org/wp/2015/02/20/powershell-summit-europe-registration/ to learn more and to register. If you know of anyone that might have an interest in this, please forward this or send them the link.
As explained in the link above, the European PowerShell community needs to solidify and show that we exists. If not enough people show interest, there just isn’t any point in keeping arranging this in Europe. So help spread the word, and show the we have a good PowerShell community in Europe.
Hopefully I will see you in Stockholm at the PowerShell summit?
Working with files in PowerShell
In this post I will go through how to work with files in PowerShell, specifically how to read and write files. I will go through a handful of different cmdlets you can use to read files, as well as save information down to a file. As with most things PowerShell, it’s actually quite easy! (more…)
Formatting output in PowerShell
This post will go through how to format output for the screen in PowerShell, and is mainly aimed at beginners will little to no experience. Read on to learn how you can control how data is shown in the console! (more…)
Invoke-SqlCommand
In several previous posts I have presented functions to create different kinds of database connections. But a connection to a database is just the first step. The function I’m presenting here will let you use the connection object you get from those functions and send SQL commands to the database. If you expect data back you can indicate that by using the GetResults parameter, and you will get a DataTable object returned to you. (more…)
New-OdbcConnection
This function will let you create a database connection object for connecting to a database using ODBC.
It supports using DSN as well as setting up a DSN-less connection, and will return a database connection object. (more…)
New-OracleConnection
This function will let you create a database connection object for connecting to an Oracle database. It supports the usual parameters; DatabaseServer, DatabaseName, Port and Credential and will return a MySqlConnection object. (more…)