if($Script:DryRun)
This commit is contained in:
@@ -45,6 +45,11 @@ param(
|
|||||||
############################################################
|
############################################################
|
||||||
# Globale Variablen
|
# Globale Variablen
|
||||||
############################################################
|
############################################################
|
||||||
|
############################################################
|
||||||
|
# Globale Zustände
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
$Script:DryRun = $false
|
||||||
|
|
||||||
$Script:InstallerRoot =
|
$Script:InstallerRoot =
|
||||||
|
|
||||||
@@ -378,7 +383,7 @@ function Install-VeeamProduct {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if($DryRun)
|
if($Script:DryRun)
|
||||||
{
|
{
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -426,7 +431,7 @@ function Initialize-BackupRepository {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if($DryRun)
|
if($Script:DryRun)
|
||||||
{
|
{
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -469,7 +474,7 @@ function Initialize-BackupJobs
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if($DryRun)
|
if($Script:DryRun)
|
||||||
{
|
{
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -538,7 +543,7 @@ function Start-VeeamEnterpriseInstall {
|
|||||||
|
|
||||||
$Configuration = Get-InstallerConfiguration
|
$Configuration = Get-InstallerConfiguration
|
||||||
|
|
||||||
if($DryRun)
|
if($Script:DryRun)
|
||||||
{
|
{
|
||||||
|
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
@@ -625,7 +630,7 @@ function Get-EnterpriseInstallationReport {
|
|||||||
|
|
||||||
Mode =
|
Mode =
|
||||||
|
|
||||||
if($DryRun)
|
if($Script:DryRun)
|
||||||
{
|
{
|
||||||
|
|
||||||
"DryRun"
|
"DryRun"
|
||||||
@@ -795,7 +800,7 @@ try
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if($DryRun)
|
if($Script:DryRun)
|
||||||
{
|
{
|
||||||
|
|
||||||
Enable-DryRunMode
|
Enable-DryRunMode
|
||||||
|
|||||||
Reference in New Issue
Block a user