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

BUG New-ADChangeReport CSS Path not detected. #24

Closed
jdhitsolutions opened this issue Mar 29, 2021 · 3 comments
Closed

BUG New-ADChangeReport CSS Path not detected. #24

jdhitsolutions opened this issue Mar 29, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jdhitsolutions
Copy link
Owner

This is a bug reported by @klaypigeon

PS C:\Windows\system32> new-adchangereport
You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\ADReportingTools\1.0.0\Functions\ADChangeReport.ps1:130 char:13
+             $htmlParams.Add("CSSPath", $CSSPath)
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
@jdhitsolutions jdhitsolutions added the bug Something isn't working label Mar 29, 2021
@jdhitsolutions jdhitsolutions self-assigned this Mar 29, 2021
@jdhitsolutions
Copy link
Owner Author

I had re-organized some code and I see now that I am trying to add something that hasn't been defined yet. This should be easy to fix.

@jdhitsolutions
Copy link
Owner Author

This should be fixed in v1.1.0 (38ccd83). Update the module from the PowerShell gallery and try again.

@klaypigeon
Copy link

klaypigeon commented Mar 29, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants