Export-DPSEncryptionKeys
Synopsis
Eksportér krypteringen nøgler i en fil
Syntaks
NonEncrypted (Standard)
Export-DPSEncryptionKeys [-ApplicationPath] <string> [-Destination] <string> [-NoClobber] [-WhatIf]
[-Confirm] [<CommonParameters>]Encrypted
Export-DPSEncryptionKeys [-ApplicationPath] <string> [-Destination] <string>
[[-Password] <PSPassword>] -Encrypt [-NoClobber] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Eksportér krypteringen nøgler i en fil. encryption.config fil kan ikke være moved til en anden system, som den er krypteret med data protection program programming interface (DPAPI), som forhindrer filen fra er read uden for af system hvor den er blevet krypteret. De skal eksport filen derefter import den til anden system.
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
Mappe af programmet.
-Confirm
Beder Dem om bekræftelse, før cmdlet'en køres.
-Destination
Destination for ny kryptering konfiguration fil
-Encrypt
Kryptér konfigurationen. For Windows kun.
-NoClobber
Forhindrer cmdlet'en fra overwriting eksisterende filer. Hvis en fil med angivet navn allerede exists, cmdlet'en vil generate en fejl i stedet for overwriting filen.
-Password
Adgangskode til at beskytte exported fil. Accepterer en streng eller sikker streng.
-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 Export-DPSEncryptionKeys -detailed". Tekniske oplysninger får De ved at skrive "Get-Help Export-DPSEncryptionKeys -full".
Sidst opdateret
Var dette nyttigt?