Everything-PowerShell

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

Windows Server 2016 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
Windows 10 PowerShell

PowerShell & PowerShell V7:- Find all scheduled tasks on your server.

Task schedular is brilliant because you can schedule things to run on certain days and times but what about if you looking for a scheduled task but there are so many folders to sift through to find them? PowerShell is the answer, you can run a single command to find Read more…

By Edward van Biljon, 2 yearsJan 6, 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
PowerShell

PowerShell:- Running Python script fails with error.

If you want to use PowerShell to execute Python scripts, you need to have Python installed or you will receive the error below: Head over to the Microsoft store and download Python. I opted for Python 3.7 but there are newer versions out: After the install was done, I opened Read more…

By Edward van Biljon, 2 yearsDec 23, 2020 ago
Windows Server 2012 PowerShell

Windows PowerShell:- Remove files and folders from the Temp directory

Quick PowerShell Script!! If you have a temp directory that has many items in, selecting all from Explorer and then deleting them takes longer than using a simple PowerShell command: Here is the command you can run: Get-ChildItem -Path “C:\Windows\Temp” *.* -Recurse | Remove-Item -Force -Recurse If there are files 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 2019:- Set TLS Certificate name on your receive connector.
  • Exchange 2019:- SMTP responding with wrong certificate.
  • Exchange:- Check when user mailboxes were created using PowerShell
  • PowerShell:- Start Outlook from command line.
  • Windows PowerShell:- Changing time on a Server
  • Windows PowerShell:- Enable RSS on a Network Adapter
  • Windows PowerShell:- Remove files and folders from the Temp directory
  • Exchange 2019 - Update the Autodiscover Internal URL
  • Exchange 2019 - Check a mail-queue that is giving an error with PowerShell
  • PowerShell:- Create an email using PowerShell
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