• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
OpenTechTips

OpenTechTips

Comprehensive IT Guides for Pros and Enthusiasts

MENUMENU
  • HOME
  • ALL TOPICS
    • Exchange
    • InfoSec
    • Linux
    • Networking
    • Scripting
      • PowerShell
    • SSL
    • Tools
    • Virtualization
    • Web
    • Windows
  • ABOUT
  • SUBSCRIBE

Home

Home

How to Disable Sleep on Mac When Closing the Lid

June 27, 2025 Zsolt Agoston
# Disable sleep on macbooks when closing the lid sudo pmset disablesleep 1 # Prevent auto-start of macbooks when opening the lid sudo nvram BootPreference=%01 # Macbook shutdown without a prompt [Option] + click on 'Shutdown' ... Read More
Home

PowerShell – How to Decrypt a SecureString

March 18, 2021
Home
Two ways to decrypt a SecureString in PowerShell ... Read More
Home

Base64 Encode with Fixed Line Length Output in PowerShell

March 10, 2021
Home
Here is an example script that encodes an arbitrary text with Base64 method using PowerShell and breaks up the output into fixed-length lines to make it more easily readable. We use 76 character long rows as the MIME (Multipurpose Internet ... Read More
Home

Split a String Into Fixed Length Lines in PowerShell

March 9, 2021
Home
A one-liner to split up a long string into fixed-length rows in PowerShell ... Read More
Home

Auto Accept Meeting Requests for Shared Mailboxes in Microsoft Exchange

December 5, 2020
Home
The following method will help you set up a shared mailbox to automatically accept calendar requests without getting any annoying email notification messages ... Read More
Home

How to List the Total Size of a Folder with PowerShell

November 29, 2020
Home
List the total size, the subfolder-count, and the file-count of a folder or subfolder in PowerShell ... Read More
Home

How to Delete Traces from Linux History

November 25, 2020
Home
So you want to delete all traces of certain commands from the Bash history? Here's how to do it! ... Read More
Home

How to Clone a Role Assignment Policy in Microsoft Exchange

November 21, 2020
Home
This script is for cloning a Role Assignment Policy in Exchange. For example, if you want to allow certain users to add/remove members to the distribution groups they own, you need to enable the "MyDistributionGroups" option in the role assignment ... Read More
Home

PowerShell – How to add extra column to a CSV Export

November 17, 2020
Home
Have you ever found yourself in a situation where you wanted to export the output of a PowerShell cmdlet or script, but needed to add an extra column to the output to export to a CSV file? Let's see how ... Read More
Home

How to Flush ARP cache in Windows, Linux and MacOS

November 14, 2020
Home
With certain network changes you might end up with nodes in your network having issues contacting other hosts outside of their subnet. A typical scenario is when the default gateway's IP is re-assigned to a new router and the old ... Read More
Home

Ping Sweep Without Nmap with Native Tools in Linux, Windows, macOS

November 12, 2020
Home
Ping sweeping is a basic technique to find active hosts on a network. You might be looking for a particular host in your infrastructure, like a network printer, or you simply want to assign a static IP to a new ... Read More
Home

PowerShell: List Automapped Mailboxes for All Mailboxes in Exchange 2016

November 7, 2020
Home
This script is for exporting all the mailboxes that have users auto-mapped with FullAccess rights. The script is for on-prem Exchange environments ... Read More
Home

How to Log Out Users from Windows servers and computers Remotely

November 5, 2020
Home
In a Windows domain it's very simple to check what users are currently logged in on a server or client computer, and remotely leg them out if their session is frozen or they simply need to be logged out ... Read More
Home

Fix SSH Certificate Authentication in Linux

November 3, 2020
Home
A guide on how to fix SSH cert authentication when it doesn't work ... Read More
Home

Set up Auto Reply to All Messages in Outlook

October 30, 2020
Home
Set up Auto Reply messages that goes out everytime an email arrives. No admin intervention is needed! ... Read More
Home

Create and Expand LVM Volumes – Step by Step Guide

October 27, 2020
Home
Click here for a quick summary on how to create and administer volume groups and volumes in LVM ... Read More
Home

New emails are not showing up in Shared Mailboxes!

October 25, 2020
Home
When new messages are not visible in Shared type mailboxes it is because items with "private" type are not accessible even for users with Full Access rights. Viewing of private messages can be set in the Delegates list of the ... Read More
  • ‹
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 13
  • ›
Home

Primary Sidebar

Tools

  • Terms of Use
  • Disclaimer
  • Privacy Policy
Manage your privacy

To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Manage options
{title} {title} {title}
Manage your privacy
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Manage options
{title} {title} {title}