Category: Development
Powershell 2 does not have a convertfrom-json function and I like to use json files for storing configuration. Searching the web gives almost zero results. Converting a multilevel json structure to hashtable would be very complicated. Since…
Read more →
Ok, Now that we have syncronized our customers licenes to a local DB, we have this new commandlet to list them. This is a easy one, no advanced tokens setup to connect to Microsoft endpoint, only local database. function get-tenantlics { <#…
Read more →
This is a followup from previus post. In this post I will populate the database with what licenses a tenant has aquired. This will add records of what aquired skus and ‘usage’. For me this is how many license are bought versus how many are …
Read more →
Now that we have our tenants listed in a database table, listing them is quite easy. Added a switch that allow you to also list deleted/removed tenants. function get-tenantlistindb { param( [switch]$all ) $SQLInstance = "localhost\SQLExpres…
Read more →
Hi, I like to keep control of how many licenses our cutomers use versus how many have been purchased. Here is 1st part my PS script to copy the info from csp to the DB. I will start creating a database and table to keep a list of all the te…
Read more →
Resonse from webrequests are normally in Json format and converting back and forth is no problem using convertto/from-json. Only this time some computers did run Powershell 2.0 and did not have any “new” .NET framework installed. So I ran t…
Read more →
Since we are using SecretServer as our credential store it is of great help to be able to get credentials directly from powershell. This is a small function that connects to secretserver webservices and retrieve a secret based on secred ID.…
Read more →
How can you get your external IP address from powershell? I use a simple script to query an external public web service. The service I’m using is hosted by ipinfo.io . I have created a small function that is placed in my powershell library.…
Read more →
Got some weird errors on our new Skype for Business server install. After a straight forward install users was unable to login from external and some issues regarding conferences. Skype services seemed to start but ended up running with unk…
Read more →
This is my msRTCSIP-GroupingID editor. I use it to segregate addresslists in Lync solutions. It takes a commaseparated text file containing Company name and GUID for the addresslist assigned to this Company (filename : groupingids.txt) samp…
Read more →
There was a change in RBAC. Group managers are not able to add or remove members of a distribution Group even if it seems so in the Exchange Management Console. The only options in ECP was to give them the additional permission to great and…
Read more →
This is my HolidaySet editor for Lync 2013/2010 RGS. It is created in Powershell. This is version 1.1 and is working “Perfectly” in my environment. Code needs som tidying up and commenting. Please do not copy, but link to it since I will up…
Read more →
Aaron Stebner’s WebLog shows us how to install Windows Phone 7 SDK on Windows 2008 R2. http://blogs.msdn.com/b/astebner/archive/2010/05/02/10005980.aspx Download the Windows Phone Developer Tools web bootstrapper and save it to your hard dr…
Read more →