NAV 2013 DEMO DB problems with piping in Powershell

KaetchenKaetchen Member Posts: 106
edited 2014-03-18 in Navision Financials
Hi All,

I installed the Demo for NAV2013 on VM running Windows 8.

I can run single commands but unable to pipe the commands as below:

Has anyone come across this problem too?

Thanks,
Stefanie

PS C:\Windows\system32> Import-Module 'C:\Program Files\Microsoft Dynamics NAV\70\Service\NavAdminTool.ps1'

Welcome to the Server Admin Tool Shell!
For a complete list of Server cmdlets type

Get-Command *NAVServer*


CommandType Name ModuleName

----
Cmdlet Export-NAVServerLicenseInformation Microsoft.Dynamics.Nav.Management
Cmdlet Get-NAVServerConfiguration Microsoft.Dynamics.Nav.Management
Cmdlet Get-NAVServerInstance Microsoft.Dynamics.Nav.Management
Cmdlet Get-NAVServerPermission Microsoft.Dynamics.Nav.Management
Cmdlet Get-NAVServerPermissionSet Microsoft.Dynamics.Nav.Management
Cmdlet Get-NAVServerSession Microsoft.Dynamics.Nav.Management
Cmdlet Get-NAVServerUser Microsoft.Dynamics.Nav.Management
Cmdlet Get-NAVServerUserPermissionSet Microsoft.Dynamics.Nav.Management
Cmdlet Import-NAVServerLicense Microsoft.Dynamics.Nav.Management
Cmdlet New-NAVServerConfiguration Microsoft.Dynamics.Nav.Management
Cmdlet New-NAVServerInstance Microsoft.Dynamics.Nav.Management
Cmdlet New-NAVServerPermission Microsoft.Dynamics.Nav.Management
Cmdlet New-NAVServerPermissionSet Microsoft.Dynamics.Nav.Management
Cmdlet New-NAVServerUser Microsoft.Dynamics.Nav.Management
Cmdlet New-NAVServerUserPermissionSet Microsoft.Dynamics.Nav.Management
Cmdlet Remove-NAVServerInstance Microsoft.Dynamics.Nav.Management
Cmdlet Remove-NAVServerPermission Microsoft.Dynamics.Nav.Management
Cmdlet Remove-NAVServerPermissionSet Microsoft.Dynamics.Nav.Management
Cmdlet Remove-NAVServerSession Microsoft.Dynamics.Nav.Management
Cmdlet Remove-NAVServerUser Microsoft.Dynamics.Nav.Management
Cmdlet Remove-NAVServerUserPermissionSet Microsoft.Dynamics.Nav.Management
Cmdlet Set-NAVServerConfiguration Microsoft.Dynamics.Nav.Management
Cmdlet Set-NAVServerInstance Microsoft.Dynamics.Nav.Management
Cmdlet Set-NAVServerPermission Microsoft.Dynamics.Nav.Management
Cmdlet Set-NAVServerPermissionSet Microsoft.Dynamics.Nav.Management
Cmdlet Set-NAVServerUser Microsoft.Dynamics.Nav.Management



PS C:\Windows\system32> Get-NAVServerInstance | Get-NAVServerUserPermissionSet | Where-Object {$_.PermissionSetId -like 'SUPER*'}
Get-NAVServerUserPermissionSet : Unable to locate Microsoft Dynamics NAV ServerInstance: MicrosoftDynamicsNavServer$ServerInstance
At line:1 char:25
+ Get-NAVServerInstance | Get-NAVServerUserPermissionSet | Where-Object {$_.Permis ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (0:Int32) [Get-NAVServerUserPermissionSet], NavCommandException
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$ServerInstance,Microsoft.Dynamics.Nav.Management.Cmdlets.GetNavServerUserPermissionSet


PS C:\Windows\system32> Get-NAVServerInstance


Name : MicrosoftDynamicsNavServer$DynamicsNAV70
DisplayName : Microsoft Dynamics NAV Server [DynamicsNAV70]
State : Running
ServiceAccount : NT AUTHORITY\NETWORK SERVICE
Version : 7.0.33781.0
Default : True




PS C:\Windows\system32> Get-NAVServerPermissionSet DynamicsNAV70

PermissionSet ID Name
----
ADCS ALL ADCS User
ADCS SETUP ADCS Set-up
BASIC Basic User (All Inclusive)
CASHFLOW Cash Flow Total
CHANGELOG-DELETE Delete Change Log Entries
CHANGELOG-SETUP Setup Change Log
CHANGELOG-VIEW View Change Log Entries
COST Cost Accounting
DOC-APP-SETUP Document Approval Setup
DOC-APP-USER Document Approval
DOLSETUP Dynamics Online Setup
FA-FIXED ASSET Read fixed assets and entries
FA-FIXED ASSET, EDIT Edit fixed assets
FA-INS JOURNAL Create entries in ins. jnls.
Sign In or Register to comment.