< Back

Connect-OVGD

Mon Jan 13, 2020 8:49 pm

NAME Connect-OVGD



SYNOPSIS

Create a connection to a Global Dashboard instance





SYNTAX

Connect-OVGD [[-Server] <Object>] [-UserName <Object>] [-Password <SecureString>] [-Directory <Object>]

[<CommonParameters>]



Connect-OVGD [[-Server] <Object>] [-Directory <Object>] [-Credential <PSCredential>] [<CommonParameters>]





DESCRIPTION

This function will create a connection to the specified Global Dashboard instance





PARAMETERS

-Server <Object>

The Global Dashboard to connect to



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserName <Object>

The Username of a user with access to the Global Dashboard instance



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Password <SecureString>

The Password of the specified user



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Directory <Object>

The Directory of the specified user, defaults to local



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Credential <PSCredential>

A PSCredential to be sent to the login function



Required? false

Position? named

Default value

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



NOTES





Info

Author : Rudi Martinsen / Intility AS

Date : 25/03-2019

Version : 0.2.0

Revised : 24/04-2019

Changelog:

0.2.0 -- Added PS Credential support

0.1.1 -- Added help text



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



PS C:\\>Connect-OVGD -Server 1.1.1.1 -UserName user01



Connects to the specified Global Dashboard instance with the specified user. The function will prompt for the

password of the user









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Connect-OVGD -Server 1.1.1.1 -Credential (get-credential)



Connects to the specified Global Dashboard instance with a PS Credential











RELATED LINKS

https://github.com/rumart/GlobalDashboardPS

https://developer.hpe.com/blog/accessin ... hboard-api

https://rudimartinsen.com/2019/04/23/hp ... ll-module/