Advanced Search
Search Results
150 total results found
Powershell - Printers
Printers Delete Printers https://community.spiceworks.com/topic/1932797-use-powershell-to-delete-a-mapped-printer Delete Network Printers Look at printers Get-WmiObject -Class Win32_Printer | where{$_.Network -eq 'true'} Get-printer | where{$_.Network -...
MsSQL - SQL Reporting Services
Enable Errors Connect to the database engine in SSMS and navigate to the ReportServer database. Query the ConfigurationInfo table to get familiar with it. Issue the following query: USE ReportServer GO UPDATE ConfigurationInfo SET Value = 'True' W...
Windows - How To Fix DFS Replication Event 4012 on Domain Controller
1. Verifying Server Promotion Status The first crucial step in resolving DFS replication Event ID 4012 is to verify the server’s promotion status. Any discrepancies in the promotion process can lead to issues with DFSR. Administrators can use tools like Activ...
Windows - Delete user Graph
https://www.alitajran.com/remove-on-premises-directory-synchronization-service-account/ Install-Module Microsoft.Graph -Force -Confirm:$falseInstall-Module Microsoft.Graph.Beta -AllowClobber -Force -Confirm:$falseConnect-MgGraph -Scopes "User.ReadWrite.All" ...
Powershell - Search Active Directory using PowerShell ADSISearcher Filters
https://www.alkanesolutions.co.uk/2021/03/03/search-active-directory-using-adsisearcher-filters/ How to Search This post discusses how we can search Active Directory using PowerShell ADSISearcher filters. Using search filters can improve search performance s...
Linux - Setting up an SSL secured Webserver with CentOS
Last verified: October 2026 for RHEL / Rocky Linux 9 against the Red Hat Apache TLS guide, the Apache 2.4 upgrade notes and the OpenSSL req manual. This guide will explain how to set up a site over https. The tutorial uses a self signed key so will work well f...
Visual Studio - Bag of Tricks
To Add underscore to fieldNames
Apache - How to create a multi-domain SSL certificate
Introduction By defult, an SSL certificate is valid for only a single domain name. Using wildcards, you can match all the subdomains with a single certificate. However, a wildcard certificate is valid only for the subdomains, and not for the main domain: so,...
Apache - Certbot SSL Certificate
Introduction The Certbot Package is not included in Rocky Linux’s base repository by default. In order to obtain it, we must install the EPEL (Extra Packages for Enterprise Linux) repository. This repository provides additional software packages through open-...
MsSQL - Setup Emailing
/* Turn on MsSQL emailing on Created By: Steve Ling 2024/08/31 */ -- Run First if (SELECT [value] FROM sys.configurations WHERE [name] = N'show advanced options') <> 1 Begin EXEC sp_configure 'show advanced options', 1; RECONFIGURE; End if...
Windows - How To Fix DISM Source Files Could Not Be Found In Win10
https://www.minitool.com/news/fix-dism-source-files-could-not-be-found-win10.html The DISM command “DISM / Online / Cleanup-Image / Restore Health” can be performed successfully in normal cases to repair your Windows System Image. However, some users said t...
Windows - Windows Logon Service
The logon process for how a system connects to a DC is pretty striaghtforward (read: Simple, but not easy) Workstation comes online and queries DNS SRV records to find all DCs Workstation attempts LDAP connection to ALL DCs found. Workstation qu...
MsSQL - Create Database Table from Code
declare @TableName sysname = 'TableName' declare @Result varchar(max) = 'public class ' + @TableName + ' {' select @Result = @Result + ' public ' + ColumnType + NullableSign + ' ' + ColumnName + ' { get; set; } ' from ( select repla...
Windows - Online Repair
Crashing Error SFC /SCANNOW DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-image /RestoreHealth
Windows - How to Switch Domain Controller
Find Current Domain Controller You can grab the domain controller that the computer is currently connected to with these steps: Select the “Start” button. Type “CMD“. Hold “Shift” and right-click “Command Prompt“. Select “Run as different ...
Apache - Server Multiple Site Setup
What you’ll need A server running Rocky 9 Linux Know the vi text editor, here's a handy tutorial. Basic knowledge of installing and running web services For those looking for a similar setup for Nginx, examine this guide. Linux Install...
Raspberry Pi - Kiosk
Configure kiosk mode Checked 7 Oct 2026 against Raspberry Pi OS 2026-10-06 (Debian 13 "Trixie"). Since the 2024-10-22 release, every Raspberry Pi model runs a Wayland desktop with the labwc compositor by default, and the Chromium package/command is now chromiu...
Linux - Samba Setup Rocky 9
Last verified: October 2026 for RHEL / Rocky Linux 9 against the Red Hat Samba guide, the smb.conf manual and Microsoft's SMB guest access documentation. Step 1: Install Samba on Linux To get started out with Samba, install the Samba core packages including th...
Linux - Setup Rocky 9 SMTP Server
Security warning: this guide is written for a lab or internal relay. It disables SELinux and the firewall, allows plaintext authentication (disable_plaintext_auth = no, auth_mechanisms = plain login) and sets the Dovecot auth socket to mode = 0666 (any local u...
MsSQL - Move TempDB To Another Drive
Sometimes as a database administrator, you need to move the TempDB database and log files to a new hard drive. This happens for example if you have installed SQL Server on C:\ and you no longer have space to process your queries. So it is necessary to move Te...