Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Encrypted column

$
0
0

I am trying to query an SQL DB that has one encrypted column. I can query everything but the EncryptedNotes field. The encryption is done via certificate, but I don’t know the commands needed to invoke this process. An example of a record is below with both the unencrypted Notes field and what is returned currently from the EncryptedNotes field. The code I’m using is the code that can be found in the first sample script from this site: http://www.systemcentercentral.com/powershell-how-to-connect-to-a-remote-sql-database-and-retrieve-a-data-set/.

UserID : jdandy
FirstName : Jim
LastName : Dandy
Notes : MMN: Smith
COB: Juno
EncryptedNotes : {0, 16, 28, 56…}


Viewing all articles
Browse latest Browse all 13067

Trending Articles