Calling SOAP Services from PowerShell

Like most of my posts this has its origin in Microsoft Dynamics 365 Business Central development – specifically our build process – although it isn’t limited to that.

We had a need to call a SOAP web service from PowerShell (see below for the background if you’re interested). In the past I’ve used Invoke-WebRequest and added content-type and a SOAPAction header to the request

Source : James Pearson
Read more…

C/AL Source Code Analysis with PowerShell

Last Directions US and EMEA, I had the opportunity to talk about – uhm – myself. Well, not really – about my tools. It was a weird experience – but it got more attention than I ever expected.

Now, during that session, I showed a tool that I wanted to put out there for sooooo long: a way to analyze your C/AL Source Code with PowerShell.

This was actually an “let’s see what we can do and how far we can go”-challenge during our free time ;-), where the .Net part (which is the majority of the work) wasn’t done by me, although I was quite (let’s say “overly”) involved with the entire evolution of it ;-). The tool might not be completely new to you. I have been using it for quite some time to talk about some things within the product, like:

Bron : Waldo’s Blog
Lees meer…

Nav (Business Central) AL Extension Files Info- Powershell Module

Now I decided to create a small module that will help you manage the Extensions and Ids.

Besides what I showed in the first post, I added to the module an extra feature: now you have the possibility to get the free Ids: if for example you have 2 table extensions with Ids 50251 and 50254, the free Ids are considered the ones not used within the ones used, so in this example: 50252 and 50253. You can do this by specifying and extra parameter to the function.

Bron : Andrei Lungu Blog
Lees meer…

Powershell Random Password Generator

If you want to ensure the security of your accounts, an option is to use randomly generated passwords for each account together with a password manager tool (for example I use lastpass). In this way you will need to remember only one password (for the password manager account) and you can use very strong random passwords, that you don’t have to remember, for the rest of accounts.

Bron : Andrei Lungu
Lees meer…

Change multiple Application Area tags with PowerShell

Before you convert an existing Dynamics NAV solution to an extension written in AL, the ApplicationArea property must be set on all your custom controls. Otherwise, they will not be visible.

Setting the ApplicationArea property one by one is a tedious task that can be partially automated with the following PowerShell scripts:

Bron : Dynamics NAV Team Blog
Lees meer…