Category: Uncategorized

  • Install PowerCli from PS 5.1 Shell

    ‘Install-PowerCLI-2.ps1’#Install DOTNet Framework 4.7.2 first#Get DotNet Framework Install here and put in $ENV:USERPROFILE\downloads#”https://support.microsoft.com/en-us/topic/microsoft-net-framework-4-7-2-offline-installer-for-windows-05a72734-2127-a15d-50cf-daf56d5faec2″$url = “https://go.microsoft.com/fwlink/?linkid=863265″$output = “$ENV:UserProfile\Downloads\dotnet-framework-installer.exe” Invoke-WebRequest -Uri $url -OutFile $output #>. $ENV:USERPROFILE\downloads\\NDP472-KB4054530-x86-x64-AllOS-ENU.exe /q /norestart’Wait for the task to finish – watch with tasklist”…and then run this”Install-module -force -Name VMware.PowerCLI -AllowClobber -SkipPublisherCheck -AcceptLicense -AllowPrerelease|Out-Null”Import-Module VMware.PowerCLI -PassThru -FORCE -Verbose|Out-null”Update-module VMware.PowerCLI -Force -Verbose -PassThru|Add-PSSnapin’

  • Get ESXi Details

    ‘ESXI-Details.ps1’#Set Cleanuprm -force -verbose d:\PowerShell\reports\ESXIHostDetails.txt#Set ESXIHosts from this script below:#. D:\powershell\Set-ESXiHosts.ps1$ESXIHosts = gc D:\powershell\input\ESXIHosts.txt#$ESXIHosts.count# Connect to each vCenter server#Set Headers‘ESXIHostDetailComputerName,ESXIHostDetailIP’|out-file -Append -Encoding ascii d:\PowerShell\reports\ESXIHostDetails.txtforeach($ESXIHost in $ESXIHosts){ # Test network connection to vCenter server $ESXIHostDetail = Test-NetConnection $ESXIHost -ea Stop |select -Unique -Property ComputerName, RemoteAddress if($ESXIHostDetail -is $Null){continue} # Extract required information from network connection details…

  • Eval: Poly Voyager 5200 UC

    Poly? Oh, there it is, that’s why it’s called “Poly”; Plantronics was acquired by Polycom. 7 hr. talk time diminishes down to 6 over time. You can get a full day if you plug in the headset during breaks and lunch. Also connects to Cell for hands-free calling by voice. The battery being directly in…

  • Reverse /24 IP Scope With PTR and Hostname

    Reverse /24 IP Scope With PTR and Hostname

  • 4sysops.com: how to change the PowerShell prompt (Mirror)

    4sysops.com: how to change the PowerShell prompt (Mirror)

  • How to quiesce an AWS instance to perform an uninterrupted OS upgrade

    How to quiesce an AWS instance to perform an uninterrupted OS upgrade

    How do we quiesce an AWS instance to perform an uninterrupted operating system upgrade in-place, like from Microsoft Server 2012R2 to 2019, which can be easily done on other virtualized platforms, like VMware? We have a problem in our upgrades in Windows Server where the install backs out at 90%. AWS has looked and claims the install is being…