You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/Disconnect-LMAccount.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Disconnect from a previously connected LM portal
13
13
## SYNTAX
14
14
15
15
```
16
-
Disconnect-LMAccount [<CommonParameters>]
16
+
Disconnect-LMAccount
17
17
```
18
18
19
19
## DESCRIPTION
@@ -29,9 +29,6 @@ Disconnect-LMAccount
29
29
30
30
## PARAMETERS
31
31
32
-
### CommonParameters
33
-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
34
-
35
32
## INPUTS
36
33
37
34
### None. You cannot pipe objects to this command.
@@ -42,5 +39,7 @@ Once disconnect you will need to reconnect to a portal before you will be allowe
Copy file name to clipboardExpand all lines: Documentation/Get-LMAccountStatus.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Retrieves the status of the LogicMonitor account.
13
13
## SYNTAX
14
14
15
15
```
16
-
Get-LMAccountStatus [<CommonParameters>]
16
+
Get-LMAccountStatus
17
17
```
18
18
19
19
## DESCRIPTION
@@ -31,9 +31,6 @@ This example demonstrates how to use the Get-LMAccountStatus function to retriev
31
31
32
32
## PARAMETERS
33
33
34
-
### CommonParameters
35
-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Retrieves the AWS Account ID associated with the LogicMonitor account.
4
+
5
+
.DESCRIPTION
6
+
The Get-LMAWSAccountId function is used to retrieve the AWS Account ID associated with the LogicMonitor account. It checks if the user is logged in and has valid API credentials. If the user is logged in, it builds the necessary headers and URI, and then sends a GET request to the LogicMonitor API to retrieve the AWS Account ID. The function returns the response containing the AWS Account ID.
7
+
8
+
.PARAMETERNone
9
+
This function does not have any parameters.
10
+
11
+
.EXAMPLE
12
+
Get-LMAWSAccountId
13
+
Retrieves the AWS Account ID associated with the LogicMonitor account.
14
+
#>
15
+
16
+
FunctionGet-LMAWSAccountId {
17
+
[CmdletBinding(DefaultParameterSetName='All')]
18
+
Param ()
19
+
20
+
#Check if we are logged in and have valid api creds
0 commit comments