This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Left-Align CSS for Obsidian (Live Preview) */ | |
/* Required for use: Disable "Readable Line Length" (this snippet will replicate its function but more customizable) */ | |
/* CodeMirror 6 changes some of the divs used for content in Obsidian, so this snippet just use the newest */ | |
/* Live Preview */ | |
.cm-content { | |
margin-left: 0; | |
max-width: 80%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -Modules psPAS | |
[CmdletBinding()] | |
param ( | |
[Parameter( Mandatory = $true, ParameterSetName = "PredefinedSafes")] | |
[string[]] | |
$SafeName, | |
[Parameter( Mandatory = $true, ParameterSetName = "SearchForSafes")] | |
[string]$SearchForSafes, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$templateName = "WorkstationAuthentication" | |
$clientnameNoFQDN = "COMPUTERNAME01" | |
$suffix = "contoso.com" | |
$outfolder = "\\server\share\dmzClientCerts" | |
$pass = (ConvertTo-SecureString -String 'Pa$$w0rd' -Force -AsPlainText) | |
#no_touchy | |
$subjectName = "CN=$($clientnameNoFQDN).$suffix" | |
$DNSSANName = "$clientnameNoFQDN.$suffix" | |
$certStore = "cert:\LocalMachine\My" |