< Back
Get-PTags
Post
NAME Get-PTags
SYNOPSIS
Returns a list of available tags.
SYNTAX
Get-PTags [-PopuliUri] <String> [-PopuliAuthkey] <String> [<CommonParameters>]
DESCRIPTION
Returns a list of available tags.
PARAMETERS
-PopuliUri <String>
Set to the correct URL for your college (i.e. https://<YOUR_SUBDOMAIN_HERE>.populiweb.com/api/).
This parameter is required.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PopuliAuthkey <String>
The authentication key with necessary permissions for the data you are requesting.
You must have the Staff role to call this task. This parameter is required.
Required? true
Position? 2
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
Returns PowerShell objects:
TagId
TagName
System (0 or 1)
NOTES
Author: Matthew Rehm
Creation Date: 12/10/2018
-------------------------- EXAMPLE 1 --------------------------
Get-PTags -PopuliUri 'https://<YOUR_SUBDOMAIN_HERE>.populiweb.com/api/ -PopuliAuthkey '1234567890'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>#Get TagId, TagName, System based on TagName:
Get-PTags @PopuliCredentials | Where-Object {$_.tagname -match 'Test'}
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>#Store your Populi Credentials in a hash table:
$PopuliCredentials = @{
PopuliURI = https://<YOUR_SUBDOMAIN_HERE>.populiweb.com/api/
PopuliAuthkey = '1ReallyLongAlphaNumericSequence'
}
Get-PTags @PopuliCredentials
RELATED LINKS
SYNOPSIS
Returns a list of available tags.
SYNTAX
Get-PTags [-PopuliUri] <String> [-PopuliAuthkey] <String> [<CommonParameters>]
DESCRIPTION
Returns a list of available tags.
PARAMETERS
-PopuliUri <String>
Set to the correct URL for your college (i.e. https://<YOUR_SUBDOMAIN_HERE>.populiweb.com/api/).
This parameter is required.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PopuliAuthkey <String>
The authentication key with necessary permissions for the data you are requesting.
You must have the Staff role to call this task. This parameter is required.
Required? true
Position? 2
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
Returns PowerShell objects:
TagId
TagName
System (0 or 1)
NOTES
Author: Matthew Rehm
Creation Date: 12/10/2018
-------------------------- EXAMPLE 1 --------------------------
Get-PTags -PopuliUri 'https://<YOUR_SUBDOMAIN_HERE>.populiweb.com/api/ -PopuliAuthkey '1234567890'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>#Get TagId, TagName, System based on TagName:
Get-PTags @PopuliCredentials | Where-Object {$_.tagname -match 'Test'}
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>#Store your Populi Credentials in a hash table:
$PopuliCredentials = @{
PopuliURI = https://<YOUR_SUBDOMAIN_HERE>.populiweb.com/api/
PopuliAuthkey = '1ReallyLongAlphaNumericSequence'
}
Get-PTags @PopuliCredentials
RELATED LINKS