Skip to content

Instantly share code, notes, and snippets.

Days Folder
1 FolderPath
@ByronScottJones
ByronScottJones / Hyper-V Remote Management Configuration
Last active September 3, 2020 00:58
Hyper-V Management Config
#Run the following commands on server:
Enable-PSRemoting
Enable-WSManCredSSP -Role server
Enable-NetFirewallRule -DisplayGroup “Windows Remote Management”
Enable-NetFirewallRule -DisplayGroup “Remote Event Log Management”
Enable-NetFirewallRule -DisplayGroup “Remote Volume Management”
Set-Service VDS -StartupType Automatic
Set-Item WSMan:\localhost\Client\TrustedHosts -Value 'client_hostname' -Concatenate
#Reboot the server (select #12 from Hyper-V Core Menu)
@ByronScottJones
ByronScottJones / octopus-logoctopusparameters.json
Created June 9, 2020 12:55
Octopus Deploy - Step Template - Log Octopus Parameters
{
"Id": "5fc03a6a-8713-4b95-8e5a-38eeb00d4248",
"Name": "Octopus - Log OctopusParameters",
"Description": "Writes the $OctopusParameters Dictionary to the Log.\nFor debugging purposes.",
"ActionType": "Octopus.Script",
"Version": 1,
"Author": "https://github.com/ByronScottJones",
"Properties": {
"Octopus.Action.RunOnServer": "true",
"Octopus.Action.Script.ScriptSource": "Inline",