Skip to content
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

several errors while running script #7

Open
tgawarecki opened this issue Feb 9, 2024 · 1 comment
Open

several errors while running script #7

tgawarecki opened this issue Feb 9, 2024 · 1 comment

Comments

@tgawarecki
Copy link

PS C:\Users\tgawarecki\Downloads> .\GetVB365Data.ps1

Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\Users\tgawarecki\Downloads\GetVB365Data.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r
Welcome to Microsoft Graph!

Connected via delegated access using 14d82eec-204b-4c2f-b7e8-296a70dab67e
Readme: https://aka.ms/graph/sdk/powershell
SDK Docs: https://aka.ms/graph/sdk/powershell/docs
API Docs: https://aka.ms/graph/docs

NOTE: You can use the -NoWelcome parameter to suppress this message.

Get-MgReportOffice365ActiveUserDetail : A parameter cannot be found that matches parameter name 'OutFile'.
At C:\Users\tgawarecki\Downloads\GetVB365Data.ps1:53 char:58

  • ... Get-MgReportOffice365ActiveUserDetail -Period D$Days -OutFile active_ ...
  •                                                      ~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Get-MgReportOffice365ActiveUserDetail], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Get-MgReportOffice365ActiveUserDetail

Get-MgReportOffice365ActiveUserCount : A parameter cannot be found that matches parameter name 'OutFile'.
At C:\Users\tgawarecki\Downloads\GetVB365Data.ps1:56 char:57

  • ... Get-MgReportOffice365ActiveUserCount -Period D$Days -OutFile active_ ...
  •                                                      ~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Get-MgReportOffice365ActiveUserCount], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Get-MgReportOffice365ActiveUserCount

Get-MgReportOffice365GroupActivityCount : A parameter cannot be found that matches parameter name 'OutFile'.
At C:\Users\tgawarecki\Downloads\GetVB365Data.ps1:59 char:60

  • ... t-MgReportOffice365GroupActivityCount -Period D$Days -OutFile group_a ...
  •                                                      ~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Get-MgReportOffice365GroupActivityCount], ParameterBindingExceptio
      n
    • FullyQualifiedErrorId : NamedParameterNotFound,Get-MgReportOffice365GroupActivityCount

Get-MgReportMailboxUsageDetail : One or more errors occurred.
At C:\Users\tgawarecki\Downloads\GetVB365Data.ps1:62 char:5

  • Get-MgReportMailboxUsageDetail -Period D$Days -OutFile mailbox_us ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Get-MgReportMailboxUsageDetail_Get1], AggregateException
    • FullyQualifiedErrorId : System.AggregateException,Microsoft.Graph.PowerShell.Cmdlets.GetMgReportMailboxUsageDeta
      il_Get1

PS C:\Users\tgawarecki\Downloads> .\GetVB365Data.ps1 -outfile CWSVBData.

@shapedthought
Copy link
Collaborator

I'll have a look into this issue next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants