I need a solution
Hello.
I find this way to export jobs and settings:
Get-BEBackupDefinition | Export-BEBackupDefinition > script.ps1
And in this script Powershell ISE marked string 333 as error syntax:
[CmdletBinding(DefaultParameterSetName = 'NoSelectionsParameterSet')] - unexpected tocken '[CmdletBinding in expression or statement.
Why did this happen? This is first question.
And second: to Import i do this:
& '<full_path_and_name_of_exported_settings>.ps1' -AgentServer (Get-BEAgentServer "<server_name>") | save-BEBackupdefinition
What "server_name" should I insert?
2723581