A bit of Powershell

A bit of Powershell

With powershell you can do anything, in my case i prefer to use powershell ISE (as already said in previous posts), more comfortable and Visual then Powershell console. The commands are multiple, I report only a few. for the rest I leave the page on Microsoft Docs and the directory on the NAV CD (there are many examples ready to use).

In this simple post I mention some examples of use (there are dozens on the net) and some useful features for NAV. For example, it is possible to extract data from the NAV and send it to XML or to video (.. very useful for querying data in a GDPR view!).

Keep Kalm and Learn Powershell!

You can find two example files on my page on GITHUB https://github.com/rstefanetti/Powershell

1 Powershell-Create New NAV 2018 Demo Envirment.txt
2 Powershell-Useful Commands.txt

EXAMPLES IN FILES
CREATE A FULL NAV 2018 ENVIRONMENT
NAVDATA EXPORT
CREATE NEW WEB SERVICE
INVOKE CODEUNITS
READ COMPANIES
EXPORT ON XML FILE
READ TEXT FILE (CONTENT)
READ EVENT VIEWER

Powershell ISE in Action

example

OUTGRID sample (VERY USEFUL !)

Example

You are Welcome !

Leave a Reply

Your email address will not be published. Required fields are marked *

eighteen + 17 =

Privacy Preference Center

Close your account?

Your account will be closed and all data will be permanently deleted and cannot be recovered. Are you sure?

Enjoy this blog? Please spread the word :)