Comments (1)
Hello,
This is by design. Errors are either silenced by try/catch or SilentlyContinue.
However, they are normally sent to the Write-Log function as errors so you could add an exit there if an error occurred.
I have the opposite option in Settings eg log errors as warnings to not stop automation that would look at script errors. I could in theory add an option to exit if an error occurs but there are some "acceptable" errors so this might kill the script even if it is working.
Cheers!
from intunemanagement.
Related Issues (20)
- No support for unicode encoding HOT 4
- Policies for Office Apps Missing HOT 1
- Request: Add group functionality HOT 1
- Feature Request: Filter by Platform HOT 2
- Compare Intune tenants HOT 7
- Groups and filter HOT 11
- Error 0x87d1fde8 with the Reg Value. HOT 3
- Unable to load anything HOT 2
- Not importing some setting catalog policies HOT 2
- Downloading File not working HOT 8
- Newest Security Baseline for Windows 10 not showing HOT 1
- Wait for state CommitFile HOT 1
- Ability to use passkey when authenticating HOT 1
- cannot load information anymore HOT 3
- File upload fails during application import HOT 2
- Unable to log in HOT 8
- "Microsoft Intune PowerShell" is being decommissioned HOT 1
- Application export copies only json file HOT 3
- Unable to login with Google SSO linked account HOT 1
- Issue: Unable to Connect Custom App & Defaulting to Microsoft Graph Command Line Tools HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intunemanagement.