Rexxer

Some tips for me and other

News

Exchange 2010 + Re-index DB

Issue: Users can’t find some e-mails with searching The Internet suggest several ways to resolve the issue like: Update-MailboxDatabaseCopy –Identity ‘DB2’ –CatalogOnly or 1. stop the Exchange Search Indexer and Search service 2. go to the location of the mailbox database. 3. there should be a folder called catalog{GUID}. Delete the folder 4. Restart the […]

Exchange 2010 + Powershell + Search and delete specific mail

Task: Find and delete all the e-mail that contains specific attachment. 1. Estimate and debug our query: Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery ‘attachment:”My file example*”‘ -TargetMailbox “my.mailbox” -TargetFolder “MyFolder” -Logonly -Loglevel Full | Select DisplayName, ResultItemsCount | where-object {$_.ResultItemsCount -ne “0”} and check the folder for the report or Get-Mailbox -ResultSize Unlimited | Search-Mailbox […]

Unable to do anything with usb-flash after disk imaging

I often do bootable usb-flash-disks with Win32image software. But when you decide to format it with Windows disk management you can face an issue – it can’t be done. All the options are grey out. You can fix it with diskpart – just select this disk and delete all the partitions on it and you […]

PFSense upgrade

Usually upgrade passes without issues but it can be painfull sometimes. I did upgrade from version 2.2.x to 2.4.3 and got a lot of errors about PHP and other modules especially “Tftp-server”. I tried to reboot the server and it was lost. So I went to the place and tried to do something but without […]

Fix All Failed Exchange Database Content Indexes

Source:https://practical365.com/exchange-server/fix-all-failed-exchange-database-content-indexes/ One of the issues that my Get-DAGHealth.ps1 script alerts for is failed content indexes on database copies in a database availability group. Note: for failed content indexes on servers that are not DAG members refer to this article instead. Failed content indexes can easily go unnoticed when everything else is working fine however they […]

Windows 10 + HP2055 + Duplex printing

Windows 10 setup universal hp driver for HP2055DN and every time reset Duplex printing module to “Not installed”. I’ve added a startup script in scheduler to set this property to “Installed”. set-printerproperty “HP2055DN” -PropertyName Config:DuplexUnit Installed

Powershell + Sign a script

Set-AuthenticodeSignature my.ps1 @(Get-ChildItem cert:\CurrentUser\My -codesign)[0]

Powershell + Add a user to a group to a local workstation

Invoke-Command -ComputerName S1, S2 -ScriptBlock {add-LocalGroupMember -Group “Administrators” -Member username }

Powershell + Get installed software

get-ciminstance win32_product | select name | sort-object name

BSOD 0x0000007B Windows 7 / Windows Server 2008 R2 – 2

Source: http://winitpro.ru/index.php/2018/06/19/ispravlyaem-bsod-0x0000007b-pri-zagruzke-windows-7-windows-server-2008-r2/ CLASSPNP.SYS. HKEY_LOCAL_MACHINE  File -> Load Hive.  \Windows\System32\config\SYSTEM. HKEY_LOCAL_MACHINE\local_hkey\ControlSet001\services\. Atapi Intelide LSI_SAS REG_DWORD Start  0 (0x00000000). HKEY_LOCAL_MACHINE\local_hkey и в меню выбрать Unload Hive. HKEY_LOCAL_MACHINE\local_hkey\ControlSet001\services Service VMWare Windows x64  SATA RAID aliide 3 3 3 amdide 3 3 3 atapi 0 0 0 cmdide 3 3 3 iastorv 3 3 3 intelide 0 3 3 […]

Previous Posts