Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

510 total results found

Clear Print Spooler

Printers and Scanners

net stop spooler  del %systemroot%\System32\spool\printers\* /Q /F /S  net start spooler    From <https://www.online-tech-tips.com/computer-tips/how-to-forcefully-clear-all-jobs-from-a-print-queue/>    

Determine AD forest and domain level

Windows Active Directoy

Get-ADDomain | select domainMode, DistinguishedName   Get-ADForest | select forestMode    From <https://www.petri.com/raise-active-directory-domain-and-forest-functional-levels-using-powershell>  

Windows 10 update not showing in settings after update

Windows Windows OS

   The solution is to disable blocking of settings visibility.  RUN - gpedit.msc  Change Computer Configuration>Administrative Templates>Control Panel>Settings Page Visibility to Disabled.  Then changed back to not configured      Changed User Configurat...

S.M.A.R.T

Windows

Check SMART on hard drive    wmic diskdrive get status    From <https://www.howtogeek.com/134735/how-to-see-if-your-hard-drive-is-dying/>  

Find Certificate (SSL) by Thumbprint

Windows Windows OS

Open Powershell as admin  Change to the cert directory by using the command:   cd cert:  Search for a certificate by using this command:  dir -recurse | where {$_.Thumbprint -eq “THUMBPRINT”} | Format-List -property * 

Rename Domain

Windows Active Directoy

Found this article which looks like it is very good    http://www.rebeladmin.com/2015/05/step-by-step-guide-to-rename-active-directory-domain-name/          Step-by-Step guide to rename Active Directory Domain Name  MAY 14, 2015 BY DISHAN M. FRANCIS 47...

Domain Trust

Windows Active Directoy

Periodically we will get a call where the person cannot log into their computer and they get an error message stating that the computer has a domain trust issue    This is due to the background password for the computer being different between the computer a...

Chkdsk /r replacment

Windows Windows OS

https://www.altaro.com/hyper-v/repairing-corrupt-file-systems-vms-repair-volume/Repairing     Corrupt File Systems on VMs with Repair-Volume  Repairing Corrupt File Systems on VMs with Repair-Volume18 Dec 2014 by Luke Orellana9  The other day I ran into on...

RADIUS

Windows Windows Server

Well, good 'ol Microsoft strikes again.  Jacob (from Wintek) was able to isolate our NPS/RADIUS authentication problem to Windows Firewall.  Even though the 1812 port exceptions were properly in place, Windows was dropping the traffic anyway. Evidently many ot...

Chrome Profile Migration

Windows Windows OS

  Here’s everything you need to do:  On the computer that has the Chrome profiles that you want to retain:  Copy the “User Data” folder found in this path to portable media: C:\Users\%username%\AppData\Local\Google\Chrome\  Export this regist...

Unifi Console Commands

Networking Unifi

Unifi SSH 

Unifi Controller as a Windows Service

Networking Unifi

How to Set Up the UniFi Network Controller as a Windows Service    1. Close any instances of the UniFi software on the computer. If the UniFi Network Controller was just installed, make sure to open the controller software manually at least once, or let it r...

Windows

Networking Windows

Wireless troubleshooting  netsh wlan show wlanreport  Shows wifi profiles  netsh wlan show profiles  Delete wifi profile  netsh WLAN delete profile name="Profile_Name"  Connect to wifi  netsh wlan conn...

CMD - SYSPREP

Windows Windows OS

%WINDIR%\system32\sysprep\sysprep.exe /generalize /shutdown /oobe /quiet    From <https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sysprep--generalize--a-windows-installation?view=windows-11>  

Cross Forest Resource Security

Windows Active Directoy

Cross-forest resource security    To grant access to resources from one forest to another:  Create/ensure they have a forest level transitive trust  Create a domain local security group  This group will be what is assigned to the resources. ...

Search all DHCP servers in a domain for a hostname

Windows Powershell

Get-DhcpServerInDC <#| ?{ $_.DnsName -notmatch "rhsc-01-vsrv04"} #> | % {  $_.DnsName    $ServerName = $_.DnsName    try {      Get-DhcpServerv4Scope -ComputerName $ServerName -erroraction continue <#| ?{ $_.Name -notmatch "Guest" }#> | %{  $Scope = $_.Sco...

Alias

Windows Powershell

To get the Alias of a command:    Get-Alias - Definition "yourCommandHere"    Reverse:    Get-Alias -Name "yourAliasHere" 

Network

Windows Powershell

Lookup MAC in ARP with Powershell with exact address - Get-NetNeighbor | ? { $_.LinkLayerAddress -eq "88-6F-D4-B8-1D-AD" }  Lookup MAC in ARP with Powershell with partial address - Get-NetNeighbor | ? { $_.LinkLayerAddress -like "88-6F-D4*" } 

Parameters and Variables

Windows Powershell

To get Powershell variables available hit CTRL + Enter        Then to get parameter/variable options    get-help add-dhcpserverv4optiondefinition -Parameter *   

Searching

Windows Powershell

To search a folder and subfolders for a wildcard word and aggregate to a  single folder. (THIS MOVES FILES)    Get-ChildItem "C:\LTShare\Uploads\*latestspeedtestresults.txt" -Recurse | Move-Item -Destination "DestinationFolder" -Force      To search a fol...