8000 Issue with intune-backup-restore-withgui.ps1 · Issue #68 · andrew-s-taylor/public · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Issue with intune-backup-restore-withgui.ps1 #68
Open
@FerryBodijn

Description

@FerryBodijn

Hi,

I have made use of this script with a Automation Account in Azure, so the variable will be '$selected = "all"'.
The back-up will be stored into GitHub.

When I run the script I get the following error:

Failed Thread failed to start. (Thread failed to start. (Exception of type 'System.OutOfMemoryException' was thrown.))

We have a big Intune environment, so this will be the reason why it ran out of memory.
Is it possible to implement a way to send batches? Or that it will do a counting, and if it hits X then it will send the first batch to github, then clears the variable '$profiles' and '$profilesjson' and continue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0