Skip to content

Instantly share code, notes, and snippets.

@NicolaiH
Last active May 31, 2016 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NicolaiH/415c8b008c6f4c6f123081976034c937 to your computer and use it in GitHub Desktop.
Save NicolaiH/415c8b008c6f4c6f123081976034c937 to your computer and use it in GitHub Desktop.
Set-Location C:
$Shell = $Host.UI.RawUI
$size = $Shell.WindowSize
$size.width=200
$size.height=60
$Shell.WindowSize = $size
$size = $Shell.BufferSize
$size.width=200
$size.height=2000
$Shell.BufferSize = $size
$Shell.WindowTitle="NAV console"
Import-Module 'C:\Program Files\Microsoft Dynamics NAV\90\Service\NavAdminTool.ps1'
Import-Module 'C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Model.Tools.psd1'
Clear-Host
Write-Host -ForegroundColor Green "All NAV 2016 cmdlets has been loaded."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment