Import-DPSEncryptionKeys
Synopsis
Anvend ny kryptering nøgler på databasen af en Devolutions Server instans
Syntaks
__AllParameterSets
Import-DPSEncryptionKeys [-ApplicationPath] <string> [-Filename] <string> [[-Password] <PSPassword>]
[-WhatIf] [-Confirm] [<CommonParameters>]Description
Anvend ny kryptering nøgler på databasen af en Devolutions Server instans. Krypteringen nøgler fil skal være generated fra Export-DPSEncryptionKeys. En sikkerhedskopi af SQL database skal være done før denne handling. Alle brugere skal være i offline tilstand eller afbrudt fra Devolutions Server arbejdsområde til avoid data loss.
Eksempler
På en Windows OS
PS C:\> $existingDVLSInstance = 'C:\my\path\dvlsInstance\'
PS C:\> $destination = 'C:\other\path\encryption.config'
PS C:\> Export-DPSEncryptionKeys -ApplicationPath $existingDVLSInstance -Destination $destinationPå en Linux OS, mens creating en ny DLVS instans ved hjælp af samme database PS home/bruger/linuxDlvsInstance> $newDvlsInstance = '/home/bruger/linuxDlvsInstance' PS home/bruger/linuxDlvsInstance> $keysToImport = '/sti/til/encryption.config' PS home/bruger/linuxDlvsInstance> Import-DPSEncryptionKeys -ApplicationPath $newDvlsInstance -Filename $keysToImport
Eksportér krypteringen nøgler fra en Windows DVLS. Brug disse nøgler når creating en ny DVLS instans ved hjælp af samme database.
Parametre
-ApplicationPath
Programmets mappe
-Confirm
Beder Dem om bekræftelse, før cmdlet'en køres.
-Filename
Kryptering nøgler fil at importere
-Password
Adgangskode til adgang krypteringen nøgler fil
-WhatIf
Viser, hvad der ville ske, hvis cmdlet'en kørte. Cmdlet'en køres ikke.
CommonParameters
Denne cmdlet understøtter de almindelige parametre: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction og -WarningVariable. Yderligere oplysninger finder De i about_CommonParameters.
Noter
Yderligere oplysninger får De ved at skrive "Get-Help Import-DPSEncryptionKeys -detailed". Tekniske oplysninger får De ved at skrive "Get-Help Import-DPSEncryptionKeys -full".
Sidst opdateret
Var dette nyttigt?