Commit 8f8af99c authored by CRAIG BENNER's avatar CRAIG BENNER

missed required files for Role Active Directory LDAPS

parent 5d0b41ea
#!powershell
# WANT_JSON
# POWERSHELL_COMMON
$params = Parse-Args $args;
$result = New-Object PSObject -Property @{
changed = $false
}
#import CA
import-certificate -FilePath c:\temp\ca.crt -CertStoreLocation Cert:\LocalMachine\Root
#import LDAPS
import-certificate -FilePath c:\temp\develop_dc.pem -CertStoreLocation Cert:\LocalMachine\My
$result.changed = $true
Exit-Json $result
#!powershell
# WANT_JSON
# POWERSHELL_COMMON
$params = Parse-Args $args;
$result = New-Object PSObject -Property @{
changed = $false
}
$newName = "develop-dc-01"
if ($env:computername -ne $newName) {
#rename computer
Rename-Computer -NewName $newName
restart-computer -force
}
$result.changed = $true
Exit-Json $result
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment