Maximize your protection, eliminate business risks.
Optimize and modernize with cloud transformation.
Empower your people to work securely from anywhere.
Let us handle IT so you can focus on growing your business.
Get multichannel 24/7/365 expert end-user support.
Protect, detect, and respond—Dataprise keeps your business secure.
Maximize uptime with with industry-leading DRaaS.
Swiftly mitigate cyber threats and restore security.
Improve efficiency, productivity and outcomes with cloud.
Ensure all mobile devices, everywhere, are secure.
Gain a competitive edge with strategic IT solutions.
This battle-tested checklist enables your team to swiftly initiate a ransomware response.
IT for businesses of all sizes, in any industry.
Empower institution growth with custom IT solutions.
Ensure your firm is always in compliance.
Improve patient care and staff morale.
Deal with pressing legal matters, not IT.
Keep up with the evolving digital landscape.
Focus on your mission by outsourcing IT.
Keep production running with secure, always-on IT.
Accelerate PE client deals and secure data.
Empower Your Municipality with Secure, Reliable IT Services
Execute initiatives and develop IT strategies.
Get the latest industry insights and trends.
Join us at events in person and online.
Hear from clients and learn more about strategic IT.
See how Dataprise can make IT your greatest asset.
Get informative technical resources from IT experts.
Stay on stop of emerging cybersecurity threats.
Discover the key areas of DR your organization needs to address to ensure downtime is minimized.
Gain a strategic asset by bringing harmony to IT.
Ensure 24/7 support and security with dedicated teams.
Drive business forward by partnering with Dataprise.
Meet our one-of-a-kind leadership team.
Discover the recognition Dataprise has earned.
Help us help businesses with strategic IT.
Grow through acquisition and partnership with Dataprise.
Embracing different perspectives and backgrounds.
Find a Dataprise location near you.
Dataprise is committed to empowering more women to consider a career in technology.
Explore our trusted partnerships with leading tech innovators.
Posts
By: Dataprise
Table of content
In the midst of a migration to Office 365 recently, I needed to re-do some work, which required re-creating some accounts. Deleting accounts is easy enough, but the recreation failed because the accounts still existed. Office 365 has a recycle bin that automatically removes items after 30 days. If you need to clean it out a bit faster, there is a way.
First, be sure to grab the latest “Microsoft Online Services Module for Windows Powershell” (MSOL Module PowerShell): https://onlinehelp.microsoft.com/en-us/office365-enterprises/hh124998.aspx
Then, Set-executionpolicy unrestricted
Connect to Office 365: Connect-MSOLService
Once connected, Get-MsolUser –ReturnDeletedUsers will show all the users in the Recycle Bin and Remove-MsolUser – [email protected] – RemoveFromRecycleBin will remove individual. If you want to remove everything from the Recycle Bin, can you pipe one to the other: Get-MsolUser –ReturnDeletedUsers | Remove-MsolUser –RemoveFromRecycleBin.
Now your Office 365 recycle bin is empty and you can get back to your transition to the Cloud.
Shane Skriletz, PEI
INSIGHTS
Subscribe to our blog to learn about the latest IT trends and technology best practices.