Everything-PowerShell

  • Home
  • Exchange 2019 PowerShell
  • Exchange 2016 PowerShell
  • Exchange 2013 PowerShell
  • Exchange 2010 PowerShell
  • Contact Us

Window Server 2012 R2 PowerShell

PowerShell

PowerShell:- Enable Active Directory Recycle Bin gives error

In Active Directory, you have the ability to enable the Recycle bin option, not only from the Active Directory Admin Center but also from PowerShell. Let’s say that you have just setup a new domain or you have an existing one and when you use PowerShell to enable the Recycle Read more…

By Edward van Biljon, 2 yearsApr 9, 2021 ago
Window Server 2012 R2 PowerShell

PowerShell:- Get properties of a user account/s in Active Directory.

In a previous article we looked at group membership for accounts in Active Directory that you can pull using PowerShell. In this short article we will look at extracting certain information for a user account or for all users in Active Directory. For all users, you can use the following Read more…

By Edward van Biljon, 2 yearsMar 26, 2021 ago
Window Server 2012 R2 PowerShell

PowerShell: Get all Active Directory users membership

In PowerShell, you can do many things and this includes reporting on items or updating information but specifically in Active Directory, you can pull information about users and groups etc simply by using PowerShell. Below is a script that allows you to get membership information for all users in Active Read more…

By Edward van Biljon, 2 yearsMar 25, 2021 ago
PowerShell

PowerShell:- Create an PowerShell script to output results to the Event Log

I had a request to check connectivity to a SQL server and to email the results, however I thought of doing something different. Have the application check the connectivity but create an Event ID and Event Log entry on Success and Failure and you can monitor that with any application Read more…

By Edward van Biljon, 2 yearsJan 21, 2021 ago
PowerShell

PowerShell:- Increase the value of MaxMemoryPerShellMB.

In PowerShell you have a few options to increase the values of certain settings, in this example we will be looking at MaxMemoryPerShellMB setting that needs to be increased. The default value of 150mb might be fine in a small environment but in a larger environment where you are running Read more…

By Edward van Biljon, 2 yearsJan 4, 2021 ago
Window Server 2012 R2 PowerShell

PowerShell:- Enable PowerShell logging for more visibility.

One thing I have learnt is you cannot have too many log files. If you want visibility into what is running commands on your server or who is running commands or what is executing, you need to enable PowerShell logging. You get some really sophisticated malware that embeds itself in Read more…

By Edward van Biljon, 2 yearsDec 25, 2020 ago
PowerShell

PowerShell:- Check your execution policy

You may have noticed that when you want to run that PowerShell script you downloaded it gives you an error. This is because windows is designed to protect the operating system. If you are running Windows Server, the default is set to remote signed. On Windows client machines, it is Read more…

By Edward van Biljon, 2 yearsDec 24, 2020 ago
Window Server 2012 R2 PowerShell

PowerShell:- Update a Registry Key value.

Recently we had a request to update a whole stack of servers registry keys. With PowerShell this is easy to do. In the first step you need to set the location of where you want to work. In this case it was HKLM:\SOFTWARE\Location – Location being where you want to Read more…

By Edward van Biljon, 3 years ago
Window Server 2012 R2 PowerShell

PowerShell: Show hidden devices in Device Manager on Server 2008 R2

In any operating system, you may want to uninstall or remove a device like a network card for example that may be causing issues. Launching Device Manager does not show the device and as an example you cannot rename you network card because it says the device already exists. You Read more…

By Edward van Biljon, 3 years ago
Window Server 2012 R2 PowerShell

Windows Server:- Disable LMHOSTS with PowerShell

With PowerShell you can pretty much do anything. In this article we disabled Netbios using a registry key, however you can do the same using WMI and PowerShell as well as removing the tick box for Lmhosts on a Network Card. To do this, you can run the following set Read more…

By Edward van Biljon, 3 years ago

Posts navigation

1 2 3 Next
Donate

Please support my work, if you like the work I'm doing please consider donating to keep my blog going.

Follow me on Twitter
My Tweets
Top Posts & Pages
  • Exchange 2016:- Check last backup using PowerShell
  • PowerShell:- Start Outlook from command line.
  • Exchange 2019:- Set TLS Certificate name on your receive connector.
  • Windows PowerShell:- Changing time on a Server
  • PowerShell:- Create an email using PowerShell
  • Exchange 2019:- SMTP responding with wrong certificate.
  • Exchange 2019 - Check the Services with PowerShell
  • Exchange 2019 - Update the Autodiscover Internal URL
  • PowerShell:- Find a ProcessID and kill the process
  • Windows PowerShell:- Get Heartbeat of a HyperV Host
Recent Posts
  • Exchange 2019 / Active Directory :- Update mobile numbers using PowerShell
  • Exchange online:- Find all mailboxes that have ActiveSync enabled.
  • Exchange 2019:- Find which ActiveSync Policy is assigned to all mailboxes
Archives
  • Oct 2022
  • Sep 2022
  • Jun 2022
  • Feb 2022
  • Jul 2021
  • Apr 2021
  • Mar 2021
  • Jan 2021
  • Dec 2020
  • Oct 2020
  • Aug 2020
  • Jul 2020
  • May 2020
  • Apr 2020
  • Mar 2020
  • Feb 2020
  • Jan 2020
  • Dec 2019
  • Nov 2019
  • Oct 2019
  • Sep 2019
  • Aug 2019
  • Jul 2019
  • Jun 2019
  • May 2019
  • Apr 2019
  • Mar 2019
  • Feb 2019
  • Jan 2019
  • Dec 2018
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

  • About Us
  • Blog
  • Contact Us
Hestia | Developed by ThemeIsle