Skip to content
blog.KimConnect.com
Menu
Codes
Windows
Linux
Virtualization
Networking
Database
Month:
May 2022
blog.KimConnect.com
>>
Read More
May 24, 2022
May 24, 2022
kimconnect
kimconnect
PowerShell: Assign Guest Virtual Machine to a Cloud in VMM
# assignVmsToCloud.ps1 # version 0.02 # The following function assigns a guest VM into a…
0 Comments
Read More
May 22, 2022
May 22, 2022
kimconnect
kimconnect
The Process of Adding a New Hyper-V Server Into a Cluster and the Associated Virtual Machine Manager (VMM)
These are the steps: Install WindowsWindows 2019 Data Center Edition is the standard as of…
0 Comments
Read More
May 22, 2022
May 22, 2022
kimconnect
kimconnect
PowerShell: Check a List of Windows Computers for Online & Offline Statuses
# checkOnlineComputers.ps1 # Set a list of computers in a text file $computerListFile='C:\Temp\computerlist.txt' # Read…
0 Comments
Read More
May 17, 2022
May 17, 2022
kimconnect
kimconnect
PowerShell: Add Local User as an Administrator on All Servers in Domain
# addLocalAccountOnAllServers.ps1 # Feature: using only legacy commands for maximum compatibility # Set variables $newUsername='backupAdmin'…
0 Comments
Read More
May 13, 2022
May 13, 2022
kimconnect
kimconnect
How To Modify a Windows Service
Here's the freebie code: # Version 0.02 $serviceName='Windows_Exporter' $newExePath=$false $newSwitches=" --log.format logger:eventlog?name=$serviceName --collectors.enabled os,cpu,cs,logical_disk,net,tcp,service,textfile" function…
0 Comments
Read More
May 13, 2022
May 13, 2022
kimconnect
kimconnect
How To Modify Collectors of Windows Exporter
Update: here's a generalized version of this function that can be applied to other services…
0 Comments
Read More
May 6, 2022
May 6, 2022
kimconnect
kimconnect
How To Create a Windows Scheduled Task to Call a Program or Script
Example on How To Call a Program: Set Action = Start a Program Set Program/Script…
0 Comments
Read More
May 6, 2022
May 6, 2022
kimconnect
kimconnect
PowerShell: Delete Files Older Than 30 Days
Have you ever run into C:\ volumes reaching critical thresholds because certain applications or users…
0 Comments
Read More
May 4, 2022
May 4, 2022
kimconnect
kimconnect
How to Add New Lookup Domains into Windows DNS Suffixes
Error message: [server005.intranet.kimconnect.com]: PS E:\Users\kimconnect\Documents> add-localgroupmember -Group 'remote desktop users' -Member 'DMZ/testUser'add-localgroupmember : Principal DMZ/testUser…
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