< Back
Set-1cWPInfoBase
Post
NAME Set-1cWPInfoBase
SYNOPSIS
SYNTAX
Set-1cWPInfoBase [-InfoBase] <__ComObject[]> [[-DBServerName] <String>] [[-DBName] <String>] [[-DBUser] <String>]
[[-DBPassword] <String>] [[-ConnectDenied] <Boolean>] [[-DeniedFrom] <DateTime>] [[-DeniedTo] <DateTime>]
[[-DeniedMessage] <String>] [[-PermissionCode] <String>] [[-ScheduledJobsDenied] <Boolean>] [[-SessionsDenied]
<Boolean>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-InfoBase <__ComObject[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-DBServerName <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DBName <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DBUser <String>
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DBPassword <String>
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ConnectDenied <Boolean>
Required? false
Position? 6
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-DeniedFrom <DateTime>
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DeniedTo <DateTime>
Required? false
Position? 8
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DeniedMessage <String>
Required? false
Position? 9
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PermissionCode <String>
Required? false
Position? 10
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ScheduledJobsDenied <Boolean>
Required? false
Position? 11
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SessionsDenied <Boolean>
Required? false
Position? 12
Default value False
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 --------------------------
PS C:\\>Get-1cWPInfoBase -Name DB | Set-1cWPInfoBase -DeniedFrom (Get-Date).AddDays(-20) -DeniedTo
(Get-Date).AddDays(-10) -DeniedMessage 'Test'
RELATED LINKS
SYNOPSIS
SYNTAX
Set-1cWPInfoBase [-InfoBase] <__ComObject[]> [[-DBServerName] <String>] [[-DBName] <String>] [[-DBUser] <String>]
[[-DBPassword] <String>] [[-ConnectDenied] <Boolean>] [[-DeniedFrom] <DateTime>] [[-DeniedTo] <DateTime>]
[[-DeniedMessage] <String>] [[-PermissionCode] <String>] [[-ScheduledJobsDenied] <Boolean>] [[-SessionsDenied]
<Boolean>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-InfoBase <__ComObject[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-DBServerName <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DBName <String>
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DBUser <String>
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DBPassword <String>
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ConnectDenied <Boolean>
Required? false
Position? 6
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-DeniedFrom <DateTime>
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DeniedTo <DateTime>
Required? false
Position? 8
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DeniedMessage <String>
Required? false
Position? 9
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PermissionCode <String>
Required? false
Position? 10
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ScheduledJobsDenied <Boolean>
Required? false
Position? 11
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SessionsDenied <Boolean>
Required? false
Position? 12
Default value False
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 --------------------------
PS C:\\>Get-1cWPInfoBase -Name DB | Set-1cWPInfoBase -DeniedFrom (Get-Date).AddDays(-20) -DeniedTo
(Get-Date).AddDays(-10) -DeniedMessage 'Test'
RELATED LINKS