The LinuxVMDataDiskAutoInitialize.sh is written using the shell that applicable to CentOS/RHEL/Oracle 5+、Fedora、Ubuntu 12+、Debian 7+、CoreOS、SUSE 11+、openSUSE 12+、EulerOS、Gentoo Datadisk format...
WinVMDataDiskAutoInitialize.ps1 is written using the powershell that applicable to Windows Server Datadisk extend and format...
- For LinuxVMDataDiskAutoInitialize.sh
# wget https://raw.githubusercontent.com/archerslaw/diskpart-auto-tool/master/LinuxVMDataDiskAutoInitialize.sh # chmod +x LinuxVMDataDiskAutoInitialize.sh # bash LinuxVMDataDiskAutoInitialize.sh
- For WinVMDataDiskAutoInitialize.ps1
Download the WinVMDataDiskAutoInitialize.ps1 and right double-kick it running with PowerShell https://raw.githubusercontent.com/archerslaw/diskpart-auto-tool/master/WinVMDataDiskAutoInitialize.ps1 Or you can deploy the PowerShell scripts from the startup task scheduler. User account: SYSTEM Trigger: At log on Action: Start a program Program/script: Powershell.exe Full arguments: -ExecutionPolicy Bypass C:\Windows\System32\WinVMDataDiskAutoInitialize.ps1 https://community.spiceworks.com/how_to/17736-run-powershell-scripts-from-task-scheduler
-
The diskpart-auto-tool scripts files are licensed under the Apache License 2.0:
-
The diskpart-auto-tool documentation is licensed under the CC BY 4.0 License:
For information on how to contribute to it, please feel free to contact me with email or send pull requests directly.
-- End of broadcast