< Back

Get-AMConnectionStoreItem

Sat Jan 11, 2020 2:37 am

NAME Get-AMConnectionStoreItem



SYNOPSIS

Retrieves connections for the specified AutoMate Enterprise server





SYNTAX

Get-AMConnectionStoreItem [-FilePath <String>] [<CommonParameters>]



Get-AMConnectionStoreItem [[-Server] <String>] [-Port <Int32>] [-FilePath <String>] [<CommonParameters>]





DESCRIPTION

Get-AMConnectionStoreItem stores a server and connection object together in a connection store file.





PARAMETERS

-Server <String>

The AutoMate Enterprise management server.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Port <Int32>

The TCP port for the management API.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-FilePath <String>

The file the server/connection combinations are stored in. It is stored in the user profile by default.



Required? false

Position? named

Default value "$($env:APPDATA)\\AutomatePS\\connstore.xml"

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AMConnectionStoreItem -Connection server01















RELATED LINKS

https://github.com/AutomatePS/AutomatePS