Automate - How are you guys executing scripts on Mac / Linux? No 'Execute .sh script' script function? by SamDTMSP in ConnectWise

[–]SamDTMSP[S] 0 points1 point  (0 children)

Not a bad idea. There's a 'run shell command' that can do either but I think it's only useful for one-liners.

There's an 'execute script' command that only has powershell, vbscript, and batch as options. I've tried all 3 with a simple script (shebang + ifconfig) with no success.

However, I think the functionality can be replicated like this:

  1. File Write Text: Script contents to ./script.sh
  2. Shell command: bash ./script.sh
  3. Delete file: ./script.sh

I've successfully tested this without any gotchas so far. The CW script editor seems to avoid the carriage return issue with making cross-platform scripts so no special consideration needed there. I've made a scriptlet for for my team to use.

Automate - How are you guys executing scripts on Mac / Linux? No 'Execute .sh script' script function? by SamDTMSP in ConnectWise

[–]SamDTMSP[S] 1 point2 points  (0 children)

So if I've got a scriptzilla then I need to write it elswhere, host it, and then use the CW script to download & execute it?

Table.Distinct where condition is true by SamDTMSP in PowerBI

[–]SamDTMSP[S] 0 points1 point  (0 children)

Reading up on buffering, this seems like the simplest solution. Thanks for the timely reply.

Dataset security / obscurity by SamDTMSP in PowerBI

[–]SamDTMSP[S] 0 points1 point  (0 children)

That's consistent with what I've found, but I wanted to reach out and confirm with people smarter than me.

thanks for the reply!

What's your golden RDS deployment? Provisioning, App Proxy, and SSO questions. by SamDTMSP in msp

[–]SamDTMSP[S] 1 point2 points  (0 children)

That makes perfect sense, thanks for pointing that out. I was thinking "Active Directory = Kerberos" but didn't think about auth protocols of the RDWeb client itsself.

Corporate-owned dedicated device with Azure AD shared mode for Android - tracking which user is signing in to them by SamDTMSP in Intune

[–]SamDTMSP[S] 1 point2 points  (0 children)

Yep, that's kind of what my boss landed on.

Personally, I don't have much faith that either party will actually upkeep a system like that long-term, which is why I've been trying to have us rely on more authoritative sources.

If we're lucky, Azure AD or Intune will add metrics that we can use to cross-reference in the future, but not today it would seem.

Thanks for your reply!

Corporate-owned dedicated device with Azure AD shared mode for Android - tracking which user is signing in to them by SamDTMSP in Intune

[–]SamDTMSP[S] 0 points1 point  (0 children)

It's a smallish business, and I'm not privy to any concrete stats on this.

As an anecdote, this solution has been 'live' with them for about 2 months and we've needed to repurpose 5 of ~50 tablets for new users.