This one works very well indeed. It does need a bit more technical intervention:
Alternative to Revo Uninstaller
article #1442, updated 531 days ago
DeletingCloudOnlyObjectNotAllowed in Azure/AD Synchronization (Connect)
article #1534, updated 543 days ago
A customer had several of these errors being reported in Azure AD Connect. They were all users which had been converted to cloud-only. Several solutions are on Microsoft and related sites, none worked except this on the domain controller which has AAC:
- Open administrative Powershell
- To stop synchronization:
set-adsyncscheduler -synccycleenabled $false
- In the AAC Synchronization Service Manager, click Connectors
- Right-click on the AD connector, click delete, choose “Deleted connector space only”, click OK
- Do the same for the Azure connector
- To restart synchronization:
set-adsyncscheduler -synccycleenabled $true
- In services.msc, restart “Microsoft Azure AD Sync”
- Reinitialize sync:
Start-ADSyncSyncCycle -PolicyType Initial
Add SendAs to 365 Distribution List using Powershell
article #1533, updated 548 days ago
Here is how to add Send As permissions for a user, to a distribution list, in Powershell.
- First, connect to the 365 tenant.
Install modules if needed:
Set-Executionpolicy Bypass -Scope Process Install-Module PowerShellGet -Force -AllowClobber Install-Module ExchangeOnlineManagement -Force -AllowClobber
Connect to the tenant:
Connect-ExchangeOnline -UserPrincipalName adminuser@domain.com
- Then make the setting:
Add-RecipientPermission -Identity distgroup@domain.com -Trustee user@domain.com -AccessRights SendAs
HPE iLO Configuration Utility
article #1532, updated 554 days ago
Here’s a search which got me to it, once logged into HPE.com.
You’ll also need a driver, which does not come with the SPP.
NIC speed in Powershell
article #1530, updated 562 days ago
To get the link speed of all NICs in Powershell:
Get-NetAdapter | select interfaceDescription, name, status, linkSpeed.
Problem-fixing power management script
article #1521, updated 563 days ago
This one makes sure general settings are likely helpful, and also deals with two common troublemakers:
# General powercfg /change monitor-timeout-ac 0 powercfg /change monitor-timeout-dc 15 powercfg /change standby-timeout-ac 0 powercfg /change standby-timeout-dc 120 powercfg /change hibernate-timeout-ac 0 powercfg /change hibernate-timeout-dc 180 powercfg /change disk-timeout-ac 0 powercfg /change disk-timeout-dc 60 # Unhides and zeroes hidden "System unattended sleep timeout" which can cause problems # including, sometimes, automatic unwanted logoff powercfg -attributes sub_sleep 7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 -ATTRIB_HIDE powercfg -setacvalueindex scheme_current sub_sleep 7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 0 # Disable hybrid sleep both AC powered and DC powercfg -setacvalueindex scheme_current sub_sleep 94ac6d29-73ce-41a6-809f-6363ba21b47e 0 powercfg -setdcvalueindex scheme_current sub_sleep 94ac6d29-73ce-41a6-809f-6363ba21b47e 0 # Reapply current power scheme powercfg -setactive scheme_current
Very very fast Windows file deletion
article #1528, updated 570 days ago
Have not tested this yet, but looks very promising:
Update All Installed Powershell Modules
article #1527, updated 571 days ago
It also removes old versions.
Get-InstalledModule |%{if((get-module -listavailable -name $_.name).version -lt (find-module $_.name).version){update-module -name $_.name -force;Get-InstalledModule -name $_.name -allversions| where {$_.version -lt (get-installedmodule -name $_.name).version} | Uninstall-Module -force}}
From www.tbone.se/2023/02/27/update-your-windows-11-with-some-powerful-one-liners/
Send passwords securely
article #1525, updated 577 days ago
Something new:
Initiate Windows domain controllers' replication
article #1524, updated 584 days ago
Here is the command:
repadmin /syncall /AeD