< Back
Disable-SMSCard
Post
NAME Disable-SMSCard
SYNTAX
Disable-SMSCard [-CardNumber] <int> -CustomerCode <int> [-Wait] [-ReturnSMSCommand] [-SMSConnection <Object>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Disable-SMSCard [-EmployeeReference] <string> -CustomerCode <int> [-Wait] [-ReturnSMSCommand] [-SMSConnection
<Object>] [-WhatIf] [-Confirm] [<CommonParameters>]
Disable-SMSCard [-FirstName] <string> -CustomerCode <int> [-Wait] [-ReturnSMSCommand] [-SMSConnection <Object>]
[-WhatIf] [-Confirm] [<CommonParameters>]
PARAMETERS
-CardNumber <int>
Card number
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name CardNumber
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? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name EmployeeNumber
Aliases EmployeeID
Dynamic? false
-FirstName <string>
Card holders First name
Required? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name EmployeeName
Aliases GivenName
Dynamic? false
-LastName <string>
Card holders Last name
Required? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name EmployeeName
Aliases Surname
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
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
SYNTAX
Disable-SMSCard [-CardNumber] <int> -CustomerCode <int> [-Wait] [-ReturnSMSCommand] [-SMSConnection <Object>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Disable-SMSCard [-EmployeeReference] <string> -CustomerCode <int> [-Wait] [-ReturnSMSCommand] [-SMSConnection
<Object>] [-WhatIf] [-Confirm] [<CommonParameters>]
Disable-SMSCard [-FirstName] <string> -CustomerCode <int> [-Wait] [-ReturnSMSCommand] [-SMSConnection <Object>]
[-WhatIf] [-Confirm] [<CommonParameters>]
PARAMETERS
-CardNumber <int>
Card number
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name CardNumber
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? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name EmployeeNumber
Aliases EmployeeID
Dynamic? false
-FirstName <string>
Card holders First name
Required? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name EmployeeName
Aliases GivenName
Dynamic? false
-LastName <string>
Card holders Last name
Required? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name EmployeeName
Aliases Surname
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
OUTPUTS
System.Object
ALIASES
None
REMARKS
None