Update Windows/CertificateRequests.md
This commit is contained in:
@@ -4,6 +4,9 @@ First we need an installed OpenSSL on the WindowsServer.
|
|||||||
The CodeSigning Part (Option 5) is not working yet.
|
The CodeSigning Part (Option 5) is not working yet.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
|
### Modules
|
||||||
|
Import-Module ActiveDirectory
|
||||||
|
|
||||||
### variables
|
### variables
|
||||||
$openSSLDir = "C:\Program Files\OpenSSL-Win64\bin"
|
$openSSLDir = "C:\Program Files\OpenSSL-Win64\bin"
|
||||||
|
|
||||||
@@ -165,7 +168,6 @@ function yealinks([string]$pass) {
|
|||||||
$TEMP = "RadiusZertifikat(keyexport)"
|
$TEMP = "RadiusZertifikat(keyexport)"
|
||||||
$certStorage = "$($share)\$($TEMP)\yealinks\$(Get-Date -UFormat %Y-%m-%d_%H%M%S)\"
|
$certStorage = "$($share)\$($TEMP)\yealinks\$(Get-Date -UFormat %Y-%m-%d_%H%M%S)\"
|
||||||
New-Item -Path $certStorage -Type Directory -Force | Out-Null
|
New-Item -Path $certStorage -Type Directory -Force | Out-Null
|
||||||
Import-Module ActiveDirectory
|
|
||||||
### adjust the SearchBase
|
### adjust the SearchBase
|
||||||
$users = Get-ADUser -SearchBase "OU=Users,DC=mydomain,DC=local" -Filter * -Properties *
|
$users = Get-ADUser -SearchBase "OU=Users,DC=mydomain,DC=local" -Filter * -Properties *
|
||||||
$ext = @()
|
$ext = @()
|
||||||
|
|||||||
Reference in New Issue
Block a user