Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions PSBitdefenderAPI/Packages/NewBitdefenderPackage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ function NewBitdefenderPackage {
[string]$Language = $null,

[Parameter(Mandatory=$False)]
[bool]$ModuleATC = $null,
[bool]$ModuleATC = $True,

[Parameter(Mandatory=$False)]
[bool]$ModuleFirewall = $null,
[bool]$ModuleFirewall = $True,

[Parameter(Mandatory=$False)]
[bool]$ModuleContentControl = $null,
[bool]$ModuleContentControl = $True,

[Parameter(Mandatory=$False)]
[bool]$ModuleDeviceControl = $null,
[bool]$ModuleDeviceControl = $False,

[Parameter(Mandatory=$False)]
[bool]$ModulePowerUser = $null,
[bool]$ModulePowerUser = $True,

[Parameter(Mandatory=$False)]
[int]$ScanModeType = $null,
Expand All @@ -50,7 +50,7 @@ function NewBitdefenderPackage {
[int]$ScanModeEC2Fallback = $null,

[Parameter(Mandatory=$False)]
[bool]$SettingScanBeforeInstall = $null,
[bool]$SettingScanBeforeInstall = $False,

[Parameter(Mandatory=$False)]
[string]$SettingUninstallPassword = $null,
Expand All @@ -59,16 +59,16 @@ function NewBitdefenderPackage {
[string]$SettingCustomInstallPath = $null,

[Parameter(Mandatory=$False)]
[bool]$RoleRelay = $null,
[bool]$RoleRelay = $False,

[Parameter(Mandatory=$False)]
[bool]$RoleExchange = $null,
[bool]$RoleExchange = $False,

[Parameter(Mandatory=$False)]
[int]$DeploymentType = $null,

[Parameter(Mandatory=$False)]
[bool]$DeploymentCommProxy = $null,
[bool]$DeploymentCommProxy = $False,

[Parameter(Mandatory=$False)]
[string]$DeploymentProxyServer = $null,
Expand Down Expand Up @@ -126,4 +126,4 @@ function NewBitdefenderPackage {
$ret = InvokeBitdefenderAPIRequest -APIUri $Global:BDPackagesAPIURI -Method "createPackage" -Options $Options

return $ret
}
}