- 25 Sep 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Import-NectarMSTeamsPartialMonitoringList
- Updated on 25 Sep 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Imports a list of users to the Teams Partial User Monitoring list.
Description
Adds a list of user accounts to the Teams Partial User Monitoring list. List can be either an existing CSV file or array.
Syntax
Import-NectarMSTeamsPartialMonitoringList
-Filename <String>
-Overwrite <Boolean>
-TenantName <String>
-Array <Object>
-Overwrite <Boolean>
-TenantName <String>
Examples
Example 1
Import-NectarMSTeamsPartialMonitoringList -Filename PUMList.csv
Adds the users in PUMList.csv to the existing partial monitoring users list
Example 2
Import-NectarMSTeamsPartialMonitoringList -Filename PUMList.csv -Overwrite $True
Adds the users in PUMList.csv to the partial monitoring users list, replacing the existing contents, if any.
Example 3
Import-NectarMSTeamsPartialMonitoringList -Array $LicenseList -Overwrite $True
Adds the users in the $LicenseList array to the partial monitoring users list, replacing the existing contents, if any.
Example 4
$FailedImport = Import-NectarMSTeamsPartialMonitoringList PUMList.csv -Overwrite $True
Adds the users in PUMList.csv to the partial monitoring users list, replacing the existing contents, if any.
If any of the UPNs fail to import, the list will be saved to the $FailedImport variable.
Parameters
-Filename <String>
The name of the file to import. Must have a header called UserPrincipalName and each line must have a single valid UPN for each user to add to the Partial User Monitoring list
Cannot be used in conjunction with -Array.
Parameter | Value |
---|---|
Required | true |
Position | named |
Required | true |
Default Value | None |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Array <Object>
The name of an existing array to import. Array must have a single column called UserPrincipalName and each line must have a single valid UPN for each user to add to the Partial User Monitoring list.
Cannot be used in conjunction with -Filename
Parameter | Value |
---|---|
Required | true |
Position | named |
Required | true |
Default Value | None |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Overwrite <Boolean>
Parameter | Value |
---|---|
Required | false |
Position | named |
Required | false |
Default Value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-TenantName <String>
The name of the Nectar DXP tenant. Used in multi-tenant configurations.
Parameter | Value |
---|---|
Required | false |
Position | named |
Required | false |
Default Value | None |
Accept pipeline input? | false |
Accept wildcard characters? | false |