This file contains hidden or 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
Param( | |
[string]$username, | |
[string]$NSXFQDN, | |
[string]$SyslogServer, | |
[string]$SyslogPort, | |
[string]$SyslogProtocol, | |
[string]$SyslogLevel | |
) | |
$Secpw = Read-Host -AsSecureString -Prompt "Password" | |
#^End of variables |
This file contains hidden or 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
cat /storage/db/pakRepoLocal/[MGMT PACK]/manifest.txt | |
cd /usr/lib/vmware-vcops/tools/opscli/ | |
./ops-cli.sh solution uninstall ”Management Pack for Storage Devices” |
This file contains hidden or 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
#Variables | |
$username = "admin" | |
$password = "Password" | |
$vRopsFQDN = "vRops" | |
#vRops SSL certificate trust | |
add-type @" | |
using System.Net; | |
using System.Security.Cryptography.X509Certificates; | |
public class TrustAllCertsPolicy : ICertificatePolicy { |
This file contains hidden or 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
$Path = "C:\Users\Michaelryom\Downloads\VMware\vRealize-Operations-Manager-Appliance-6.1.0.3038036_OVF10\" | |
$vdisk = 'C:\Program Files (x86)\VMware\VMware Workstation\vmware-vdiskmanager.exe' | |
$VMDKs = dir $Path*.vmdk | |
cd $path | |
Foreach($VMDK in $VMDKs){ | |
$OldVMDK = $VMDK.Name | |
$NewVMDK = $VMDK.Name -replace(".vmdk","-NEW.vmdk") | |
$TempVMDK = $VMDK.Name -replace(".vmdk","-TEMP.vmdk") |
NewerOlder