How to Report on OneDrive for Business Storage, Sharing, and Departing Users with PowerShell Track storage trends, audit sharing links, and handle OneDrive content for departing users in one repeatable workflow. OneDrive for Business is one of the most heavily used services in Microsoft 365 — and one of the most overlooked from a governance standpoint. Storage usage grows quietly. Sharing links accumulate. And when someone leaves the organization, their OneDrive content can become orphaned data that nobody is tracking. Each of those concerns is solvable with PowerShell, but most admins end up writing the same scripts over and over for each request. Common OneDrive admin questions Admins regularly need to answer: Which users are using the most storage? Where do active sharing links exist? Are there sites with broad external sharing? What happens to a user's OneDrive after they leave? Has access been preserved or transferred to a manager? Why the offboarding piece matters When users are deprovisioned, their OneDrive may be retained for a configured period, but during that window someone usually needs to access or migrate the content. Doing this consistently is much easier when it is part of a defined workflow rather than handled differently every time. How PSForge helps PSForge gives you the building blocks to audit storage, export sharing links, and handle departing-user OneDrive scenarios as one structured PowerShell workflow that can be reused across HR-driven offboarding events. Example OneDrive workflow 1 Export OneDrive storage usage by user 2 Identify accounts approaching quota 3 Export sharing link data per OneDrive site 4 Identify departing users from a list or query 5 Grant manager access to the user's OneDrive 6 Apply retention or hold settings where appropriate 7 Generate a report of all actions for audit Who this helps Microsoft 365 admins IT support teams handling offboarding Compliance and governance teams MSPs supporting Microsoft 365 tenants Final thoughts OneDrive deserves the same governance attention as SharePoint, Teams, and Exchange. PSForge helps you give it that attention with a repeatable PowerShell workflow that handles storage, sharing, and offboarding in one place. Built with PSForge Visual workflow builder for PowerShell automation 1,000+ admin tasks across enterprise platforms Generate production-ready scripts faster Free tier available Want better OneDrive visibility? Build your storage, sharing, and offboarding workflow in PSForge. Try this workflow in PSForge
PSForge
Technology, Information and Internet
Create powerful automation scripts through an intuitive GUI, AI assistance, or direct coding.
About us
Build PowerShell Scripts with AI Assistance! Professional web-based PowerShell script builder for IT technicians and system administrators. Create powerful automation scripts through an intuitive GUI, AI assistance, or direct coding. With 623 Automation tasks and counting, across 23 IT platforms
- Website
-
https://psforge.app
External link for PSForge
- Industry
- Technology, Information and Internet
- Company size
- 2-10 employees
- Type
- Self-Owned
- Founded
- 2025
Updates
-
How to Tame Microsoft Teams Sprawl: Inactive Teams, Guest Access, and Channel Cleanup with PowerShell Identify inactive teams, ownerless channels, and risky guest access — then act on them — with one repeatable governance workflow. Microsoft Teams adoption usually moves quickly. Teams get created for short-term projects, channels multiply, guests get invited, and ownership gets unclear. Six months later, admins are looking at hundreds of teams, many of which are inactive, ownerless, or holding onto external access that no one tracks anymore. Manually reviewing all of that is impractical. PowerShell makes it possible — and PSForge makes it repeatable. Where Teams sprawl shows up Common pain points include: Teams with no recent activity Teams with no owner or only one owner Channels that were never used Guest users that should no longer have access External access enabled beyond the original intent Why this is hard manually Teams data lives across multiple Microsoft 365 services — the Teams admin center, Entra ID, and the underlying Microsoft 365 groups. Pulling a complete picture by hand means switching between portals and reconciling exports. A workflow approach is faster and far easier to repeat on a schedule. How PSForge helps PSForge brings together the tasks needed to inventory teams, review activity, audit ownership, and clean up guest access into a single PowerShell workflow you can run on a cadence. Example Teams governance workflow 1 Export all teams and their owners 2 Identify teams with no recent message activity 3 Flag teams with zero or one owner 4 Export guest users by team 5 Identify channels with no recent activity 6 Archive or delete teams marked for cleanup 7 Generate a governance report for the change record Who this helps Microsoft 365 admins Teams administrators Collaboration governance teams MSPs supporting Microsoft 365 tenants Final thoughts Teams sprawl is rarely intentional — it just happens. The fix is structure, not discipline. PSForge helps you turn the cleanup into a repeatable PowerShell workflow so Teams stays useful instead of overwhelming. Built with PSForge Visual workflow builder for PowerShell automation 1,000+ admin tasks across enterprise platforms Generate production-ready scripts faster Free tier available Want Teams under control? Build your Microsoft Teams governance workflow in PSForge. Try this workflow in PSForge
-
How to Clean Up Active Directory: Stale Accounts, Group Hygiene, and OU Audits with PowerShell Surface stale users, abandoned computer accounts, empty groups, and noisy OUs in one repeatable PowerShell workflow. Most Active Directory environments accumulate clutter over time. Users leave, computers are decommissioned, groups stop being used, and OUs slowly fill up with objects that nobody owns. On its own, that clutter is not a crisis. But over time it slows down audits, complicates security reviews, and makes Active Directory harder to manage with confidence. PowerShell is the obvious tool for cleanup work. The challenge is that most teams handle it through one-off scripts, which makes it hard to do consistently or on a schedule. Why AD hygiene matters A clean directory is easier to secure, easier to audit, and easier to report on. It also reduces risk: Stale user accounts are common attack targets Abandoned computer objects can cause GPO and licensing noise Empty or duplicate groups confuse access reviews Misplaced objects make OU-based policies less reliable The challenge with manual cleanup Cleanup is rarely a one-time activity. It needs to happen on a recurring basis, and the criteria for what counts as stale or unused tends to change over time. When that work depends on a single admin's personal scripts, the process becomes hard to hand off and even harder to repeat the same way twice. How PSForge helps PSForge lets you assemble cleanup logic visually and generate the PowerShell behind it. Built-in tasks for users, computers, groups, and OUs let you build a repeatable hygiene workflow that fits your environment. Find users with no recent sign-in Identify computer accounts that have not checked in List empty or unused groups Audit OU contents and structure Disable, move, or remove objects in a controlled way Example AD cleanup workflow 1 Identify users with no logon in the last N days 2 Identify computer accounts inactive beyond a threshold 3 Export empty security and distribution groups 4 Audit OU membership for misplaced objects 5 Disable stale accounts and move them to a review OU 6 Remove or archive confirmed stale objects 7 Export a cleanup report for change tracking Who this helps Active Directory administrators Identity and access teams Security and compliance reviewers MSPs maintaining client AD environments Final thoughts Active Directory cleanup is one of those tasks that always feels overdue. PSForge helps turn it into a routine PowerShell workflow that can be repeated, refined, and trusted by the whole team. Built with PSForge Visual workflow builder for PowerShell automation 1,000+ admin tasks across enterprise platforms Generate production-ready scripts faster Free tier available Want a cleaner directory? Build your Active Directory hygiene workflow in PSForge. Try this workflow in PSForge
-
Power Platform governance gets harder the moment adoption starts working. Suddenly there are more environments, more apps, more flows, more connectors, and more questions: Who owns this? Is this still used? Is this connector risky? Do our DLP policies actually cover this? PSForge helps admins build repeatable PowerShell workflows for: • environment inventories • Power Apps reporting • Power Automate flow exports • custom connector reviews • DLP policy exports • stale or risky flow review Low-code can move fast, but governance still matters. If your organization is using Power Platform more heavily, now is the time to get visibility before sprawl becomes the norm. #PowerPlatform #PowerApps #PowerAutomate #Microsoft365 #Governance #PowerShell #ITAutomation #PSForge
-
A successful backup job is good. Knowing you can actually recover is better. Too many teams stop at “the backup ran” instead of validating: • backup integrity • job errors and warnings • replication health • restore readiness • notification workflows PSForge helps admins create PowerShell workflows for Veeam-related tasks like: • backup job reporting • job monitoring • error review • verification workflows • replication checks • VM and file restore processes Recovery readiness should be a process, not a hope. If backup validation is still mostly manual in your environment, this is a great workflow to standardize. #Veeam #Backup #DisasterRecovery #PowerShell #SysAdmin #Infrastructure #ITAutomation #PSForge
-
Hyper-V administration is full of repeatable tasks that most teams still handle manually. Create the VM. Configure memory. Attach networking. Manage checkpoints. Expand storage. Clean up virtual disks. Repeat. PSForge helps admins turn those steps into reusable PowerShell workflows for: • VM creation • VM cloning • checkpoint management • dynamic memory configuration • virtual switch setup • VHD expansion and optimization It’s a simple idea: spend less time rebuilding infrastructure scripts and more time standardizing how your environment is managed. For teams running on-prem virtualization, this is low-hanging fruit for automation. #HyperV #Virtualization #PowerShell #WindowsServer #Infrastructure #SysAdmin #ITAutomation #PSForge
-
Windows Server administration still comes down to the fundamentals: Are the right services running? Are disks filling up? Are event logs showing trouble? Are servers healthy enough to stay ahead of outages? PSForge helps sysadmins build repeatable PowerShell workflows for: • server inventory • installed roles and features • service status checks • event log exports • disk usage reporting • service restart and recovery actions This is the kind of workflow that helps turn reactive troubleshooting into a more structured operational process. Not every automation needs to be flashy. Sometimes the most valuable ones are the ones that keep core infrastructure stable. #WindowsServer #SysAdmin #PowerShell #ServerAdministration #ITOperations #ITAutomation #PSForge
-
SharePoint Online is powerful, but governance can get messy fast. Sites grow. Permissions drift. External users linger. Sharing links pile up. Storage gets consumed without much visibility. PSForge helps admins build workflows for SharePoint tasks like: • site collection inventory • storage reporting • permission exports • external user review • sharing link reports • storage quota and sharing controls Instead of manually piecing together reports from multiple places, you can generate a repeatable workflow and customize the PowerShell to fit your environment. If you manage SharePoint Online, this is one of the most practical areas to automate. #SharePointOnline #Microsoft365 #PowerShell #SysAdmin #Collaboration #ITGovernance #ITAutomation #PSForge
-
External collaboration in Microsoft 365 is necessary. Unreviewed guest access and sharing sprawl are not. Over time, most environments accumulate: • stale guest users • Teams guest access that was never revisited • SharePoint sharing links no one reviewed • OneDrive links still open longer than expected PSForge helps admins build repeatable workflows to audit: • guest users in Entra ID • Teams guest access • SharePoint sharing settings • OneDrive shared links • external access governance across Microsoft 365 This kind of visibility is hard to get when you rely on disconnected scripts and manual checks. A structured PowerShell workflow makes the whole review process easier to repeat and easier to trust. #Microsoft365 #EntraID #SharePoint #OneDrive #MicrosoftTeams #PowerShell #ITSecurity #ITAutomation #PSForge
-
Exchange Online admins deal with the same requests over and over: “Who has access to this mailbox?” “Why didn’t this email arrive?” “Can you audit these permissions?” “Can you trace this message?” These are common tasks, but they still eat up time when every request means starting from scratch. PSForge helps streamline Exchange workflows like: • mailbox permission changes • delegation reporting • bulk permission audits • message trace workflows • transport rule updates • mail flow troubleshooting Build the workflow visually, generate the PowerShell, and adapt it to your environment without rebuilding the same scripts every time. Practical automation beats repetitive admin work every time. #ExchangeOnline #Microsoft365 #PowerShell #EmailAdmin #SysAdmin #ITAutomation #PSForge