microsoft / shell-intune-samples

Sample shell scripts for Intune admins.
MIT License
684 stars 222 forks source link

Rqpid7 install (token install) #70

Closed Alfa128 closed 11 months ago

Alfa128 commented 2 years ago

Thx for all your work, looking a way to deploy rapid7 agent on mac (token install) via intune.

Would like to use existing template but i dont see any function to run .sh script with parameters.(only pkg dmg and zip seems supported)

Idea would be to download sh installer from an azure blob and run the install command with parameters that includes my enterprise token

theneiljohnson commented 2 years ago

Just download the script from Blob with curl to a known location and then run by using

. /tmp/somescript.sh param1 param2

From: Alfa128 @.> Date: Sunday, 2 October 2022 at 11:25 To: microsoft/shell-intune-samples @.> Cc: Subscribed @.***> Subject: [microsoft/shell-intune-samples] Rqpid7 install (token install) (Issue #70)

Thx for all your work, looking a way to deploy rapid7 agent on mac (token install) via intune.

Would like to use existing template but i dont see any function to run .sh script with parameters.(only pkg dmg and zip seems supported)

Idea would be to download sh installer from an azure blob and run the install command with parameters that includes my enterprise token

— Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fshell-intune-samples%2Fissues%2F70&data=05%7C01%7Cneiljohn%40microsoft.com%7C063a001f54b34845c05a08daa46059cf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638003031020635451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gcANHTFoRk4Z2HFNknfdsbR8l%2FjiwYF%2FNbNR%2BQ1ZAEY%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGOC2JOYMVVCJYEMBE5O4YDWBFPHPANCNFSM6AAAAAAQ225G74&data=05%7C01%7Cneiljohn%40microsoft.com%7C063a001f54b34845c05a08daa46059cf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638003031020635451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=AlHs8Pf510rlChDB5572pbv%2FZ%2BUo%2BtPQRvvzFYIIo14%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>