Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rubrik_bootstrap_request.ps1
#New-RubrikBootStrap Documentation
#Example Usage --
#IPV4 Locally Assigned Link Address (169.254.x.x)
#Can also use MDNS name - IE VRVW564D3A0BC.local
$server = '169.254.11.25'
$name = 'RubrikEdge'
#Must Be an array even if you only have 1 server
$management_dns = @(
'192.168.11.100',
'192.168.11.101'
)
#Must be an array with a hash table inside
$ntp = @(
@{
server = 'pool.ntp.org'
}
)
#Follow the below format to define additonal nodes
$node = @{
node1 = @{
managementIpConfig = @{
address = '192.168.1.100';
gateway = '192.168.1.1';
netmask = '255.255.255.0'
}
};
node2 = @{
managementIpConfig = @{
address = '192.168.1.101';
gateway = '192.168.1.1';
netmask = '255.255.255.0'
}
}
}
$enableSoftwareEncryption = $false
$adminuserinfo = @{
emailAddress = 'nick@shoresmedia.com'
id = 'admin'
password = 'P@SSw0rd!'
}
New-RubrikBootStrap -Server 169.254.9.29 `
-name $name `
-dnsNameservers $management_dns `
-ntpserverconfigs $ntp `
-adminUserInfo $adminuserinfo `
-nodeconfigs $node `
-enableSoftwareEncryptionAtRest $enableSoftwareEncryption
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.