Just another CmdLet to bother you with (no really, it’s quite an interesting one – try to keep awake … ;-)).
The more you use PowerShell .. and the more you use it for NAV .. you just realize that you have to call out to SQL Server quite regularly. Just a few examples:
- Backup and restore – Get the default restore directories
- Update/select the...
Continued on Source: Invoke-NAVSQL: Execute SQL queries on NAV databases with PowerShell » waldo's blog