Advanced Search
Search Results
157 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
This guide will explain how to set up a site over https. The tutorial uses a self signed key so will work well for a personal website or testing purposes. This is provided as is so proceed at your own risk and take backups! 1. Getting the required software 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://sflservicesllc.atlassian.net/wiki/pages/createpage.action?spaceKey=Wiki&title=Windows%20Update%20-%20additional%20resources https://www.minitool.com/news/fix-dism-source-files-could-not-be-found-win10.html The DISM command “DISM / Online / Cleanup-Im...
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 clear chrome cache rm -rf ~/.cache/chromium ~/.config/chromium New one https://reelyactive.github.io/diy/pi-kiosk/ https://github.com/debloper/piosk Change hostname if not already done sudo hostnamectl set-hostname ??? sudo reboot ...
Linux - Samba Setup Rocky 9
Step 1: Install Samba on Linux To get started out with Samba, install the Samba core packages including the client package: dnf install -y samba samba-common samba-client Install-Samba in Linux The command installs the packages specified along with ...
Linux - Setup Rocky 9 SMTP Server
System Configuration Upgrade Current System dnf install epel-release -y dnf upgrade -y Configure SELinux setenforce 0 sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config Disable Firewall systemctl disable firewalld.service Install Core Tools...
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...