< Back

Set-ArchivialTwilioProviderOptions

Fri Jan 10, 2020 8:47 pm

NAME Set-ArchivialTwilioProviderOptions



SYNOPSIS

Configures the Twilio messaging provider as a status update recipient.





SYNTAX

Set-ArchivialTwilioProviderOptions -TwilioAccountID <string> -TwilioAuthToken <string> -TwilioDestinationPhones

<string[]> -TwilioSourcePhone <string> [<CommonParameters>]





DESCRIPTION

Messaging providers are an optional way to be automatically notified of your backup status/progress. This command

configures the Twilio (SMS/Text) provider for that purpose.



This command assumes that you have already setup a Twilio account, phone number, and have the required access

token details ready. Twilio expects phone numbers to be provided in the E.164 format.



If your access token has changed, you can safely re-run this command with the new token, and then restart the

Archivial Cloud Backup service for the changes to take effect.



If you would like to disable this provider, please run the Remove-ArchivialProvider cmdlet.



All provided options here (ex: account name, token, phone numbers) are encrypted before saving to the database.





PARAMETERS

-TwilioAccountID <string>

Specify the Twilio Account ID.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TwilioAuthToken <string>

Specify the Twilio Authentication token.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TwilioSourcePhone <string>

Specify the Twilio phone number (sender).



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TwilioDestinationPhones <string[]>

Specify the phone number(s) to send updates to.



Required? true

Position? named

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



---------- EXAMPLE 1 ----------



C:\\> Set-ArchivialTwilioProviderOptions -TwilioAccountID "myaccount" -TwilioAuthToken "--token--"

-TwilioSourcePhone "+12065551234" -TwilioDestinationPhones @("+12065554567","+12065556789")



Configures Twilio as a status messaging recipient.





RELATED LINKS