Skip to content

Windows poped up while running script #22

@Philaupatte

Description

@Philaupatte

Hi,
I start to test PowerShellGallery-Onedrive. All works as expected except that I got windows poping up while running.
During
$Auth = Get-ODAuthentication -ClientID xxx -AppKey yyy -RedirectURI http://localhost/login -RefreshToken $Auth.refresh_token -AutoAccept
I got a white empty window with title "Authenticate to onedrive" . It stays fews seconds then goes.
During
$Response = Add-ODItem -AccessToken $Auth.access_token -LocalFile $file -Path $path
I got a small green process window that stays less than 2 sec, hard to see what it is exactly about.

Have a trick or an idea to ge tread of theses windows to run my script without any window. Many thanks.

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