MSP/IT Department Mode?
perler opened this issue · 3 comments
when we run Hudu-ADDS-Documentation.ps1 we get
Creating New Asset Layout
Our Companey Name was not found in Hudu
we selected "IT Department" when installing hudu - could it be, that you expect an MSP installation with multiple companies?
Yes I haven't ever played around with Hudu in IT Department mode. I would recommend copying the $HuduBaseDomain and $HuduAPIKey variables into powershell, then run:
New-HuduAPIKey $HuduAPIKey
New-HuduBaseUrl $HuduBaseDomain
Then run Get-HuduCompanies
I suspect that it still creates a single company in the backend, so take the name from that and set that as the $CompanyName = company at the top of the script.
thanks, that did the trick, it seems to take the first location as comapny name. I already tried that manually but it's case sensitive, so that's why it didn't work in my case..
a thing I realised is that you use "Domain Admins" in line 172 which is a) language specific so doesn't necessarrily exist in other languages, and b) here in my case someone seems to have renamed this group (not me ;) ) so, maybe there is a way to work around this problem?
Yeah you just edit line 172 to match your environment :D These scripts are supposed to be more of a guide than set in stone.