mzmaili / AzureADDeviceCleanup

AzureADDeviceCleanup PowerShell script helps to manage the stale devices in Azure AD in an efficient way by giving different options to deal with stale devices in Azure AD.
MIT License
26 stars 11 forks source link

Script doesn't run, generates a lot of errors. #5

Open jblumenfeld-bkuna opened 1 year ago

jblumenfeld-bkuna commented 1 year ago

I cannot get this script to run, it generates a lot of errors - this is being run "as admin":

PS C:\Temp\PS> .\AzureADDeviceCleanup.ps1 -verify At C:\Temp\PS\AzureADDeviceCleanup.ps1:205 char:17

Sumanjit092 commented 1 year ago

You can find the updated script in below link: https://github.com/Sumanjit092/AzureADDeviceCleanup

jblumenfeld-bkuna commented 1 year ago

Thank you all, we have working copies of the script to remediate our environment as well as a script I wrote to undo the changes if needed.

Best,

Jamie Blumenfeld Officer, Collaboration & VDI Architect Digital Workplace Enablement BankUnited, N.A. 14817 Oak Lane Miami Lakes, FL 33016 5-DWE 6704 Office: (786) 792-6884 www.BankUnited.comhttp://www.bankunited.com/

Help IT Help Y☺U! Visit Self-Service Links: • Report an IT Incidenthttps://bankunited.service-now.com/sp?id=bu_cat_item&sys_id=f20881bddb259b001eda5fc74b9619a4 • Request Somethinghttps://bankunited.service-now.com/sp?id=bu_sc_home • Search Knowledge Basehttps://bankunited.service-now.com/sp?id=bu_kb_home • BankUnitedNOW Homehttps://bankunited.service-now.com/sp?id=bu_home • Work from Home BUNOW Portalhttps://bankunited.service-now.com/sp?id=work_from_home

This message was Classified as Confidential Reference.

From: Sumanjit Pan @.> Sent: Thursday, February 16, 2023 7:17 AM To: mzmaili/AzureADDeviceCleanup @.> Cc: Jamie Blumenfeld @.>; Author @.> Subject: Re: [mzmaili/AzureADDeviceCleanup] Script doesn't run, generates a lot of errors. (Issue #5)

You can find the updated script in below link: https://github.com/Sumanjit092/AzureADDeviceCleanup

— Reply to this email directly, view it on GitHubhttps://github.com/mzmaili/AzureADDeviceCleanup/issues/5#issuecomment-1433000726, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5CSQLD3XAXZNKGUIXLUORLWXYLE3ANCNFSM6AAAAAATRDJ5FU. You are receiving this because you authored the thread.Message ID: @.***>


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.