< Back
Add-SMSCard
Post
NAME Add-SMSCard
SYNTAX
Add-SMSCard [-CardNumber] <int> [[-EmployeeReference] <string>] [-LastName] <string> [-FirstName] <string>
-CustomerCode <int> [-InitLet <string>] [-ActiveDate <datetime>] [-ExpiryDate <datetime>] [-OtherNamedValues
<hashtable>] [-Wait] [-ReturnSMSCommand] [-SMSConnection <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]
PARAMETERS
-ActiveDate <datetime>
Date card is set to become active, defaults to current date.
Required? false
Position? Named
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases None
Dynamic? false
-CardNumber <int>
Card number
Required? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases None
Dynamic? false
-Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
-CustomerCode <int>
Customer/Facility Code
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-EmployeeReference <string>
Employee reference number, typically the employee number or employee ID. If passed ADUser object, uses
EmployeeID
Required? false
Position? 1
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases EmployeeID
Dynamic? false
-ExpiryDate <datetime>
Date card is set to become in-active
Required? false
Position? Named
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases accountExpires, InactiveDate
Dynamic? false
-FirstName <string>
Card holders First name
Required? true
Position? 3
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases GivenName
Dynamic? false
-InitLet <string>
Card holders Middle name
Required? false
Position? Named
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases Initials, MiddleName
Dynamic? false
-LastName <string>
Card holders Last name
Required? true
Position? 2
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases Surname
Dynamic? false
-OtherNamedValues <hashtable>
Other attributes to set on the card as a hashtable of name value pairs using the database field names and data
types of the DataImportTable.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ReturnSMSCommand
Switch to return the SMSCommand object generated and executed by this cmdlet, can be combined with whatif.
Otherwise nothing is returned
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-SMSConnection <Object>
SMSConnection object, use Get-SMSServerConnection to create the object.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Wait
Use this switch to have the process wait until records are processed (about 1 minute) and return any errors.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
Dynamic? 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
System.Int32
System.String
System.DateTime
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
SYNTAX
Add-SMSCard [-CardNumber] <int> [[-EmployeeReference] <string>] [-LastName] <string> [-FirstName] <string>
-CustomerCode <int> [-InitLet <string>] [-ActiveDate <datetime>] [-ExpiryDate <datetime>] [-OtherNamedValues
<hashtable>] [-Wait] [-ReturnSMSCommand] [-SMSConnection <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]
PARAMETERS
-ActiveDate <datetime>
Date card is set to become active, defaults to current date.
Required? false
Position? Named
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases None
Dynamic? false
-CardNumber <int>
Card number
Required? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases None
Dynamic? false
-Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
-CustomerCode <int>
Customer/Facility Code
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-EmployeeReference <string>
Employee reference number, typically the employee number or employee ID. If passed ADUser object, uses
EmployeeID
Required? false
Position? 1
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases EmployeeID
Dynamic? false
-ExpiryDate <datetime>
Date card is set to become in-active
Required? false
Position? Named
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases accountExpires, InactiveDate
Dynamic? false
-FirstName <string>
Card holders First name
Required? true
Position? 3
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases GivenName
Dynamic? false
-InitLet <string>
Card holders Middle name
Required? false
Position? Named
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases Initials, MiddleName
Dynamic? false
-LastName <string>
Card holders Last name
Required? true
Position? 2
Accept pipeline input? true (ByPropertyName)
Parameter set name (All)
Aliases Surname
Dynamic? false
-OtherNamedValues <hashtable>
Other attributes to set on the card as a hashtable of name value pairs using the database field names and data
types of the DataImportTable.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ReturnSMSCommand
Switch to return the SMSCommand object generated and executed by this cmdlet, can be combined with whatif.
Otherwise nothing is returned
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-SMSConnection <Object>
SMSConnection object, use Get-SMSServerConnection to create the object.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Wait
Use this switch to have the process wait until records are processed (about 1 minute) and return any errors.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
Dynamic? 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
System.Int32
System.String
System.DateTime
OUTPUTS
System.Object
ALIASES
None
REMARKS
None