Get-NxtScoreUsageInScores
SYNOPSIS
Checks for references to a Score within other Nexthink Scores.
SYNTAX
Get-NxtScoreUsageInScores [-ScoreTreeXMLPath] <String> [-ScoreName] <String[]> [<CommonParameters>]
DESCRIPTION
Checks for references to a score within other scores. The ScoreTree (export of all scores) must be exported from the Finder and provided to this function.
The following places are checked within the score: - Score Scope Query - Computation Query - Score Input Field
EXAMPLES
EXAMPLE 1
Get-NxtScoreUsageInScores -ScoreTreeXMLPath "C:\Temp\allscores.xml" -ScoreName "DEX - Device"
Look in the 'allscores.xml' file for any references to the score named 'DEX - Device'.
EXAMPLE 2
Get-NxtScoreUsageInScores -ScoreTreeXMLPath "C:\Temp\allscores.xml" -ScoreName "DEX - Device","DEX - Business apps"
Look in the 'allscores.xml' file for any references to the scores named 'DEX - Device' and 'DEX - Business apps'.
PARAMETERS
-ScoreTreeXMLPath
Specifies the XML file containing an export of scores from the Nexthink Finder. Note that the ScoreTree can be exported by right clicking on the Scores section and then exporting to file.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ScoreName
Specifies the name of the score to search for. This must be the name of the parent score without any of the composite score names.
Type: System.String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
You cannot pipe input to Get-NxtScoreUsageInScores.
OUTPUTS
PSObject
NOTES
None
RELATED LINKS
https://nexthinkpsutils.readthedocs.io/en/latest/functions/Get-NxtScoreUsageInScores.md