Skip to content

Windows poped up while running script #22

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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