Get-MgmtSvcNotificationSubscriber
Gets a notification subscriber.
Get-MgmtSvcNotificationSubscriber
[[-Name] <String[]>]
[-EncryptionKey <String>]
[-EncryptionAlgorithm <String>]
[-Database <String>]
[-Server <String>]
[-UserName <String>]
[-Password <String>]
[<CommonParameters>]
Get-MgmtSvcNotificationSubscriber
[[-Name] <String[]>]
[-EncryptionKey <String>]
[-EncryptionAlgorithm <String>]
[-ConnectionString <String>]
[<CommonParameters>]
The Get-MgmtSvcNotificationSubscriber cmdlet gets one or more notification subscribers from the usage service. By default, all notification subscribers are returned. To get a specific notification subscriber, you can provide its name.
You can run this cmdlet from any computer in the deployment. However, this cmdlet assumes that the database is on the local computer. If the database is on another computer, you must use the Server, UserName, Password, and Database parameters, or a SQL connection string. If you specify a connection string by using the ConnectionString parameter, that value takes precedence over the Server, UserName, Password, and Database parameters.
This cmdlet also assumes that the usage service is installed on the local computer. If the usage service is installed on another computer, you must use the EncryptionKey and EncryptionAlgorithm parameters.
PS C:\> Get-MgmtSvcNotificationSubscriber -Name "Billing"
This command gets the notification subscriber named Billing. In this example, the database is on the local computer, therefore, the command does not specify the server, database, user name, or password parameters.
Specifies an SQL connection string.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a database name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an encryption algorithm.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an encryption key, as a hexadecimal string.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an array of notification subscriber names. You can use wildcards.
Type: | String[] |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies a password.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of the computer on which the SQL database resides.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of a user account.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |