Advanced Search
Search Results
272 total results found
Restart in Safe Mode
1. Open Advanced Startup Options in Windows 10 or Windows 8, assuming you're using one of those operating systems. Since you can't start Windows properly, use method 4, 5, or 6 outlined in that tutorial. With Windows 7 or Windows Vista, start System Recovery ...
Send A Message To All Logged On Users
shutdown -r -t 600 -c "This system is restarting in 10 minutes to recover OS stability. Please logoff now to prevent data loss." timeout /t 5 shutdown -a
Shrink Windows Datastore.edb
esentutl.exe /d c:\Windows\SoftwareDistribution\DataStore\DataStore.edb From https://www.experts-exchange.com/questions/28712976/C-Windows-SoftwareDistribution-DataStore-DataStore-edb-file-getting-bigger-than-1-GB-in-my-Windows-Server.html
Uninstall Applications
WMIC Uninstall Check list of applications wmic product where "name like '%java%'" get name Uninstall wmic product where "name like '%Java%' or name like '%JRE%'" call uninstall Powershell Uninstall Check list of applications Get-Package -ProviderNa...
AD Health Check With Email
<#PSScriptInfo .VERSION 1.0 .GUID 30c7c087-1268-4d21-8bf7-ee25c37459b0 .AUTHOR Vikas Sukhija .COMPANYNAME TechWizard.cloud .COPYRIGHT .TAGS .LICENSEURI .PROJECTURI https://techwizard.cloud/2021/05/04/active-directory-health-check-v2/ ...
Custom Intune Detection Script
https://silentinstallhq.com/create-a-custom-detection-script-for-1password-powershell/ 1Password (Registry Detection Method)• Install the version of 1Password you want to deploy on a test box or VM• Check out the following posts for further details• 1Password...
PowerShell to Add a User to a Distribution Group
#Connect to Exchange Online Connect-ExchangeOnline -ShowBanner:$False #Add User to the Distribution Group Add-DistributionGroupMember –Identity "Sales@Crescent.com" -Member "Steve@Crescent.com"
PowerShell to Import Distribution List Members From CSV/TXT
$GroupEmailID = "Sales@Crescent.com" $CSVFile = "C:\Temp\DL-Members.txt" #Connect to Exchange Online Connect-ExchangeOnline -ShowBanner:$False #Get Existing Members of the Distribution List $DLMembers = Get-DistributionGroupMember -Identity $GroupEma...
Powershell to Bulk Add Users to Different Distribution lists
$CSVFile = "C:\Temp\DL-Group-Members.csv" Try { #Connect to Exchange Online Connect-ExchangeOnline -ShowBanner:$False #Get date from CSV File $CSVData = Import-Csv -Path $CSVFile #Iterate through each row in the CSV ForEach...
Get CPU and RAM Usage
$Output = 'C:\temp\Result.txt' $ServerList = Get-Content 'C:\temp\Serverlist.txt' $ScriptBLock = { $CPUPercent = @{ Label = 'CPUUsed' Expression = { $SecsUsed = (New-Timespan -Start $_.StartTime).TotalSeconds [Math]::Round($_.C...
How to change the owner of an Azure Active Directory device
In Azure AD, you can see that each device has an owner. The owner is the user who joined the device to Azure AD, which is sometimes the administrator account. If you want to change the owner, you won’t be able to do so through the Azure portal. That is why in ...
RSAT Install
# Get RSAT items that are not currently installed: $install = Get-WindowsCapability -Online | Where-Object {$_.Name -like "RSAT*" -AND $_.State -eq "NotPresent"} # Install the RSAT items that meet the filter: foreach ($item in $install) { try { ...
Remove Ghost Devices
removeghosts.ps1 <# .SYNOPSIS Removes ghost devices from your system .DESCRIPTION This script will remove ghost devices from your system. These are devices that are present but have an "InstallState" as false. These devices are typically shown as...
Test gMSA Account on DCs
# This will run on all Domain Controllers. . Replace 'adhealthcheck' with actual gMSA name Invoke-Command -ComputerName (Get-ADDomainController -Filter *).Name -ScriptBlock { $Account = Get-ADServiceAccount -Filter { Name -eq 'adhealthcheck'} Instal...
View and Delete Local Profile List
delete_profile_with_gui_v2.ps1 ########################################## # AUTHOR : Ryan Mutschler # DATE : 8-15-2014 # EDIT : 8-15-2014 # COMMENT : GUI interface to delete user profiles from remote desktop session host server # # VER...
Add/Delete Local Account to a Server in HPSA
HPSA net user USERNAME PASSWORD /ADD /active:yes Net localgroup ADMINISTRATORS USERNAME /add net user USERNAME /delete Bigfix wait cmd.exe /C net user USERNAME PASSWORD3 /ADD /active:yes /passwordchg:no /Y wait cmd.exe /C Net localgroup ADMINISTRATORS US...
Manually Remove McAfee MOVE
Use my script to automate it. Run Step 1, the server will reboot, then run step 2. move_removal_step_1.bat move_removal_step_2.bat How to manually remove MOVE AntiVirus Multi-platformTechnical Articles ID: KB74700Last Modified: 4/7/2017 EnvironmentMcAfee M...
TrueNas-DiskList
disklist.pl FreeNas "Disklist" script for report informations about installed hard drives I wrote this script for getting informations about all installed disks inside my FreeNas box. This script is written in Perl and use under the hood theses commands: g...