-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script doesn't run, generates a lot of errors. #5
Comments
You can find the updated script in below link: |
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.com<http://www.bankunited.com/>
Help IT Help Y☺U!
Visit Self-Service Links:
• Report an IT Incident<https://bankunited.service-now.com/sp?id=bu_cat_item&sys_id=f20881bddb259b001eda5fc74b9619a4>
• Request Something<https://bankunited.service-now.com/sp?id=bu_sc_home>
• Search Knowledge Base<https://bankunited.service-now.com/sp?id=bu_kb_home>
• BankUnitedNOW Home<https://bankunited.service-now.com/sp?id=bu_home>
• Work from Home BUNOW Portal<https://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 GitHub<#5 (comment)>, or unsubscribe<https://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.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\Temp\PS\AzureADDeviceCleanup.ps1:210 char:209
The '<' operator is reserved for future use.
At C:\Temp\PS\AzureADDeviceCleanup.ps1:428 char:13
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\Temp\PS\AzureADDeviceCleanup.ps1:1367 char:96
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\Temp\PS\AzureADDeviceCleanup.ps1:1367 char:103
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\Temp\PS\AzureADDeviceCleanup.ps1:1367 char:146
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\Temp\PS\AzureADDeviceCleanup.ps1:1367 char:153
Missing expression after unary operator ','.
At C:\Temp\PS\AzureADDeviceCleanup.ps1:1367 char:153
Unexpected token '&' in expression or statement.
At C:\Temp\PS\AzureADDeviceCleanup.ps1:1367 char:166
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\Temp\PS\AzureADDeviceCleanup.ps1:1367 char:193
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
Not all parse errors were reported. Correct the reported errors and try again.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : AmpersandNotAllowed
The text was updated successfully, but these errors were encountered: