-
apache awk backup bash bind cacti cpu cron css dhcp dns dvd excel Exchange grep hdd history html KVM LVM mail mount named outlook partitions password perl php pptpd raid rdp regex rpm search sed selinux vm vpn Exchange (24)
Linux (56)
MySQL (1)
Others (4)
Windows (10)
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.
-
Recent Posts
Recent Comments
- Search + Save a copy of mail items using PowerShell | Part 2#5 - o365info.com on Exchange – Search For Keyword
- Using the Search-Mailbox PowerShell command - Introduction | Part 1#5 - o365info.com on Exchange – Search For Keyword
- Recover mail items from Recovery mail folder (the Dumpster) using PowerShell | Part 3#5 - o365info.com on Exchange – Search For Keyword
- Search and Delete mail items from the Exchange mailbox using the Search-Mailbox PowerShell cmdlets | Single mailbox | Part 5#5 - o365info.com on Exchange – Search For Keyword
- Using the Search-Mailbox PowerShell command | Perform a search + save a copy of search results | Part 2#5 - o365info.com on Exchange – Search For Keyword
Technology News
The "luxury" foldable-screened phone can run up to three apps at once when opened up into [...]
The handset-maker wows with its phone-tablet hybrid, but many struggle to get over its price. [...]
Different views about the threat posed by the Chinese firm pose risks to the intelligence alliance. [...]
In a table of 77 countries, the UK ranked 35th for download speeds, a report finds. [...]
A complaint says Facebook should have told users of their data being downloaded from private groups. [...]
Cyber-crime gangs are injecting their own code on to websites to steal payment data, an annual study [...]
The app Superpersonal can capture a user's face and movements to create a realistic moving imag [...]
The decision comes after social media use by soldiers raised national security issues. [...]
It will be illegal to fly a drone within three miles of an airport, following drone disruption at Ga [...]
Epic Games says it has filed a claim in London's High Court against Exciting Events. [...]
Stolen credit cards and other illegal material are also on sale, a File on 4 investigation discovers [...]
Some 2.7 million sensitive Swedish conversations about illnesses are exposed online. [...]
Users can generate false faces, using artificial intelligence. [...]
Despite leaving Facebook in 2017, Palmer Luckey is shipping his custom repair kit to gamers free of [...]
An Instagram post featuring the image has since been taken down. [...]
Ren Zhengfei says the firm will survive despite security concerns and his daughter's legal trou [...]
A cross-party group of MPs says Facebook used its Onavo app to gather information on competitors. [...]
Google backtracks after "mistakenly" deleting YouTubers for "sexual content involving [...]
Passengers were not able to collect pre-paid tickets from machines across the country. [...]
The results are believed to be the work of Indian protesters responding to the 14 February Kashmir a [...]
Archives
- December 2016
- September 2016
- August 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- December 2015
- September 2015
- August 2015
- July 2015
- May 2015
- February 2015
- December 2014
- November 2014
- October 2014
- June 2014
- May 2014
- April 2014
- January 2014
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
Meta
Author Archives: C.D.
Escape special characters inside folder/file name variable
array=(`find /path/ -mindepth 2 -maxdepth 2 -type d -print | sed -e ‘s;[^/]*/;;g’ | sed ‘s/&/\\&/’`) ( sed ‘s/&/\\&/’ replaces & with \& in the folder/file name )
Exchange – remove address from all groups and hide it from GAL
Filename: script.ps1 $email = (read-host “email”) $GG = Get-DistributionGroup $RG = $GG | where {(Get-DistributionGroupMember $_ | foreach {$_.PrimarySmtpAddress}) -contains “$email”} foreach( $dg in $RG ){ Remove-DistributionGroupMember $dg -Member $email } get-mailbox -Identity $email | Set-Mailbox -HiddenFromAddressListsEnabled $true
Expanding a LVM root partition to fill remaining drive space
Expanding a LVM root partition to fill remaining drive space 09 Dec 2009 When I deploy new servers through VMWare ESX, I usually copy an existing base that I have already setup. I keep the base image VMDK size small … Continue reading
Convert URL text to clickable hyperlink in Excel
1. Select the range of url text that you want to convert to clickable hyperlinks. 2. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window. 3. Click Insert > Module, and paste the … Continue reading
Resize KVM guest disk space then resize PV LV
Increase KVM virtual machine guest’s disk space from the command line if you initially set insufficient amount of disk space: Shutdown the VM Move the current image mv mykvm.img mykvm.img.bak Create a new image qemu-img create -f raw addon.raw 30G … Continue reading
Linux Emergency Reboot / Shutdown
echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger The first line is for enabling SysRq, and the second one is for rebooting. More info HERE. echo 0 > /proc/sysrq-trigger if you need to shutdown instead of rebooting
Force CentOS 6 to Re-Detect Network Devices
Edit the interface that “doesn’t seem to be present”: vi /etc/sysconfig/network-scripts/ifcfg-eth0 and remove the HWADDR line. Remove the old 70-persistnet-net.rules file: rm /etc/udev/rules.d/70-persistent-net.rules Removing this file will force udev to probe for network interfaces at boot and create a new … Continue reading
Exchange – Add mailbox permissions to Domain Admins
Add-MailboxPermission -Identity alice.cooper -User “Domain Admins” -AccessRights Fullaccess -InheritanceType all
Exchange – Check Email forwarding using Powershell
Get-Mailbox -Filter {ForwardingAddress -ne $null} | ft Name,ForwardingAddress,DeliverToMailboxAndForward -Autosize | Export-CSV e:\Email_forwarding_output.csv
Reset password in Active Directory using PowerShell
You must have the cmdlets ( part of the ActiveDirectory module for PowerShell v2 ) For Windows 7, you need to install the latest RSAT (Remote Server Admin Tools) and then add the Windows Feature for the PowerShell AD … Continue reading