Skip to content

Commit

Permalink
updated help
Browse files Browse the repository at this point in the history
  • Loading branch information
jformacek committed Apr 9, 2024
1 parent 0ca0ba5 commit 8ea74d4
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions Module/ExoHelper/ExoHelper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,7 @@ param
function Get-ExoDefaultClientId
{
[CmdletBinding()]
param
(
[Parameter()]
[switch]
$IPPS
)
param ( )
process
{
'fb78d390-0c51-40cd-8e17-fdbfab77341b'
Expand Down Expand Up @@ -134,6 +129,8 @@ Retieve authorizatin header for calling EXO REST API
param
(
[Parameter()]
#Connection context as returned by New-ExoConnection
#When not specified, uses most recently created connection context
$Connection = $script:ConnectionContext
)

Expand Down Expand Up @@ -169,6 +166,15 @@ Invoke-ExoCommand -Name 'Get-Mailbox' -Parameters @{Identity = 'JohnDoe'} -Prope
Description
-----------
This command retrieves mailbox of user JohnDoe and returns just netId property
.EXAMPLE
$connection = New-AadAuthenticationFactory -ClientId (Get-ExoDefaultClientId) -TenantId 'mydomain.onmicrosoft.com' -AuthMode Interactive | New-ExoConnection -IPPS
Invoke-ExoCommand -Connection $connection -Name 'Get-Label' -PropertiesToLoad 'ImmutableId','DisplayName' -RemoveOdataProperties -ShowWarnings
Description
-----------
This command creates connection for IPPS REST API, retrieves list of sensitivity labels returning only ImmutableId and DisplayName properties, and shows any warnings returned by IPPS REST API
#>
param
(
Expand Down Expand Up @@ -211,6 +217,8 @@ This command retrieves mailbox of user JohnDoe and returns just netId property
$ShowRateLimits,

[Parameter()]
#Connection context as returned by New-ExoConnection
#When not specified, uses most recently created connection context
$Connection = $script:ConnectionContext

)
Expand Down

0 comments on commit 8ea74d4

Please sign in to comment.