Skip to content
blog.KimConnect.com
Menu
Codes
Windows
Linux
Virtualization
Networking
Database
Month:
November 2022
blog.KimConnect.com
>>
Read More
November 30, 2022
November 30, 2022
kimconnect
kimconnect
Upgrade Virtual Hardware Version in VMM
The following script will upgrade all guest virtual machines from a lower version to the…
0 Comments
Read More
November 22, 2022
November 22, 2022
kimconnect
kimconnect
PowerShell: Get Available RAM Slots
# getRamSlotsAvailable.ps1 $computername=$env:computername function getRamSlotsAvailable{ param($computername=$env:computername) write-host "Computer name: $computerName" $slots = Get-WmiObject -Class "win32_PhysicalMemoryArray"…
0 Comments
Read More
November 22, 2022
November 22, 2022
kimconnect
kimconnect
Use PowerShell to Get GeoLocation of a Computer’s Public IP
Method 1: Invoke-RestMethod -Uri ('http://ipinfo.io/'+(Invoke-WebRequest -uri "http://ifconfig.me/ip").Content) Method 2: function getIPGeolocation($ipAddress) {$request = Invoke-RestMethod -Method…
0 Comments
Read More
November 22, 2022
November 22, 2022
kimconnect
kimconnect
How to Upgrade Kubernetes Ingress Nginx Deployed via Helm
# How to upgrade ingress-nginx: helm upgrade --reuse-values ingress-nginx ingress-nginx/ingress-nginx -n ingress-nginx # Sample output of a failure scenario: brucelee@k8-controller:~$ helm…
0 Comments
Read More
November 16, 2022
November 16, 2022
kimconnect
kimconnect
How To Add or Remove a Path in Windows Environmental Paths
There are 2 functions to Add and Remove, at your convenience: # addEnvironmentalPath.ps1 $pathToAdd='C:\Scripts' $pathToRemove='C:\Scripts'…
0 Comments
Read More
November 14, 2022
November 14, 2022
kimconnect
kimconnect
PowerShell: Find Windows RDS Roles and Their Licensing Servers
# Get TS Licensing Servers (Enterprise or AD Registered) $termLicenseServers=Get-ADGroupMember -Identity "Terminal Server License Servers"…
0 Comments
Search
Archives
October 2024
September 2024
August 2024
June 2024
May 2024
April 2024
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
Meta
Register
Log in
Tag Cloud