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
#Enable All Flash vSAN Intelligently | |
Import-Module -Name VMware.VimAutomation.Core -ErrorAction SilentlyContinue | |
$TargetHosts = Get-VMHost | |
#$ESXCLI = $TargetHosts | Get-EsxCli | |
#$Storage = $Targethosts | Get-SCSILUN | |
#$Storage.ScsiLun #List of Vendors and model | |
$CacheDiskVendor = "SanDisk" | |
$CacheDiskModel = "LT0400WM" | |
$CapacityDiskVendor = "SanDisk" | |
$CapacityDiskModel = "LT0800MO" |
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
#!/bin/sh | |
################################################################################### | |
## Create a pwpolicy XML file based upon variables and options included below. | |
## Policy is applied and then file gets deleted. | |
## Use "sudo pwpolicy -u <user> -getaccountpolicies" | |
## to see it, and "sudo pwpolicy -u <user> -clearaccountpolicies" to clear it. | |
## | |
## Tested on: OS X 10.10 10.11 10.12 | |
#################################################################################### |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>litra-auto-on</string> | |
<key>ProgramArguments</key> | |
<array><string>/Library/LaunchDaemons/litra-auto-on.sh</string></array> | |
<key>RunAtLoad</key> | |
<true/> |