From 5ded38ed6ceeeed2eb93d8d186546fbb3cafacbb Mon Sep 17 00:00:00 2001 From: OCram85 Date: Mon, 29 Apr 2019 10:12:43 +0200 Subject: [PATCH] add format files --- src/Formats/PSCredential.Store.Format.ps1xml | 35 ++++++++++++++++++ ...edentialStore.Certificate.Attribute.ps1xml | 37 +++++++++++++++++++ src/PSCredentialStore.psd1 | 5 ++- 3 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 src/Formats/PSCredential.Store.Format.ps1xml create mode 100644 src/Formats/PSCredentialStore.Certificate.Attribute.ps1xml diff --git a/src/Formats/PSCredential.Store.Format.ps1xml b/src/Formats/PSCredential.Store.Format.ps1xml new file mode 100644 index 0000000..9779e40 --- /dev/null +++ b/src/Formats/PSCredential.Store.Format.ps1xml @@ -0,0 +1,35 @@ + + + + + PSCredentialStore.Store + + PSCredentialStore.Store + + + + + + + Version + + + Created + + + + $_.PfxCertificate | Split-Path -Leaf + + + Thumbprint + + + Type + + + + + + + + diff --git a/src/Formats/PSCredentialStore.Certificate.Attribute.ps1xml b/src/Formats/PSCredentialStore.Certificate.Attribute.ps1xml new file mode 100644 index 0000000..d75dee6 --- /dev/null +++ b/src/Formats/PSCredentialStore.Certificate.Attribute.ps1xml @@ -0,0 +1,37 @@ + + + + + PSCredentialStore.Certificate.Attribute + + PSCredentialStore.Certificate.Attribute + + + + + + + Country + + + State + + + City + + + Organization + + + OrganizationalUnitName + + + CommonName + + + + + + + + diff --git a/src/PSCredentialStore.psd1 b/src/PSCredentialStore.psd1 index 8103507..24820b5 100644 --- a/src/PSCredentialStore.psd1 +++ b/src/PSCredentialStore.psd1 @@ -55,7 +55,10 @@ # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module - # FormatsToProcess = @() + FormatsToProcess = @( + 'Formats/PSCredential.Store.Format.ps1xml', + 'Formats/PSCredentialStore.Certificate.Attribute.ps1xml' + ) # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess # NestedModules = @()