CmdID / PowerShell / Cmdlets / Get
Get-CsTeamsShiftsPolicy
This cmdlet allows you to get properties of a TeamsShiftPolicy instance, including user's Teams off shift warning message-specific settings. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 2 parameters Its page in the reference
Parameters
-FilterEnables you to use wildcard characters when indicating the policy (or policies) to be returned.-IdentityPolicy instance name.