-
Notifications
You must be signed in to change notification settings - Fork 33
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
DHCP / File Shares Not Uploading to IT Glue #15
Comments
We are having the same problem |
Same here |
Same here -_- |
I got the solutions! I'll try to figure out how I can post an update.. :x |
https://github.com/mettix/automation/blob/master/File%20Shares/FileShares.ps1 Here I forked this thing, updated script is there. |
I tried @mettix 's script to see if that would make a difference for me. The data displayed when the script is run looks correct (which is a big improvement over the original script) however I'm still getting
I am able to update the AD flexible asset, office365 etc using the sample file so I know write API access is working correctly |
I got this working by changing some logic. In my case, permissions is set not as a description field but a security group tag. As ITGlue expects a the permissions to be a tag, it generates the permission denied when sending free text to the Permissions tab.
} The data was then quickly uploaded to ITGlue. What I did find in my testing is that right now it creates a new share every time the script is run instead of editing the existing share, AND there is no mass delete option in ITGlue to delete all the Flexible assets at once.
$api__body.attributes.traits.servers="19818167" Still working on debugging this script.. |
I am not great with powershell not going to lie, I am however pretty decent with VB so my solution was to simply run these with the -file argument and then wrote an exe to upload the output :) a little hacky i know but why reinvent the wheel since these pull the info i'm looking for (although i'm thinking I will just eliminate the need for them all together so a single exe is all that is needed, but who has the time, right lol). it will likely be a bit before i have a finished product but the core functionality is there, just needs to be prettied up. Once complete, I'd be happy to share if anyone is interested. |
Hey, thanks for these scripts. I know it's all volunteer time, so I do not want to act like you owe me any troubleshooting, but if you have a minute, I'm having an issue with the DHCP and file share scripts. The AD script works great--no issues there.
Basically, both scripts say they are running, but no information is uploaded to IT Glue. Are there any levels of verbose logging I can enable to try to troubleshoot this more?
File Shares flex asset configuration file found!
Users$
------
Organization Name:
Server: Server01
Share Name: Users$
Share Path: \\Server01\Users$
Share Description:
Disk Path: D:\users
The text was updated successfully, but these errors were encountered: