{"id":50824,"date":"2023-08-05T16:08:51","date_gmt":"2023-08-05T12:08:51","guid":{"rendered":"https:\/\/www.msp360.com\/resources\/?p=50824"},"modified":"2024-03-18T14:29:50","modified_gmt":"2024-03-18T10:29:50","slug":"introduction-to-the-powershell-module-for-msp360-managed-backup-service","status":"publish","type":"post","link":"https:\/\/www.msp360.com\/resources\/blog\/introduction-to-the-powershell-module-for-msp360-managed-backup-service\/","title":{"rendered":"Introduction to the PowerShell Module for MSP360 Managed Backup"},"content":{"rendered":"<p>You may already know how the <a href=\"https:\/\/www.msp360.com\/resources\/blog\/getting-started-with-remote-deploy-in-msp360-managed-backup\/\">Remote Deploy<\/a> feature can help you to manage backups on a number of computers. However, the MSP360 PowerShell Module extends its capabilities even further. This module is developed by our in-house specialists and receives regular updates.<!--more--><\/p>\n<p>In this guide, we\u2019ll explain the capabilities of our PowerShell Module and also show you how to find and install it.<\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=VaceJIRg_CE\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-51131\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/Group-131.png\" alt=\"\" width=\"560\" height=\"340\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/Group-131.png 560w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/Group-131-300x182.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<h2>The PowerShell Module for MSP360 Managed Backup: Capabilities<\/h2>\n<p>The MSP360 PowerShell Module is a multifunctional tool. With it, you can carry out almost the same actions that you perform through the MSP360 Managed Backup console or agent. Scripts created using this module can help you with:<\/p>\n<ul>\n<li><strong>Bulk changes to plans<\/strong>. For example, adding compression or encryption to plans on several computers at once.<\/li>\n<li><strong>Easier console monitoring and management using the API<\/strong>. If you have a .csv table containing many users, you can import them to the MSP360 Managed Backup console, instead of adding users manually.<\/li>\n<li><strong>Simple updates<\/strong>. For new installations through RMM or GPO, you can create a script that will request, download, and deploy the latest MSP360 Managed Backup update.<\/li>\n<li><strong>Billing information<\/strong>. If your RMM or PSA doesn\u2019t support our solution, you can request billing through PowerShell to use the information in your billing system.<\/li>\n<li><strong>Checking server connection<\/strong>. Test your connection to be sure that everything works well and there will be no delays with backups.<\/li>\n<li>And more. There are many other functions that are useful in a variety of cases.<\/li>\n<\/ul>\n<h2>How to Install and Use the MSP360 PowerShell Module<\/h2>\n<h3>Installing the Module<\/h3>\n<p id=\"last\">To install the module, run Windows PowerShell with administrator rights. For the module to work, the PowerShell version needs to be 3.0 or above. You can check whether you need to update it with the <i>Get-Host | Select version<\/i> cmdlet.<\/p>\n<div id=\"slidebox\"><a class=\"close\">\u00a0<\/a><!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper hs-cta-deferred\" id=\"hs-cta-wrapper-aa07fdb8-7776-46a5-9fa0-ec6e93f0f0a6\" data-portal=\"5442029\" data-id=\"aa07fdb8-7776-46a5-9fa0-ec6e93f0f0a6\"><span class=\"hs-cta-node hs-cta-aa07fdb8-7776-46a5-9fa0-ec6e93f0f0a6\" id=\"hs-cta-aa07fdb8-7776-46a5-9fa0-ec6e93f0f0a6\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/5442029\/aa07fdb8-7776-46a5-9fa0-ec6e93f0f0a6\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-aa07fdb8-7776-46a5-9fa0-ec6e93f0f0a6\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/5442029\/aa07fdb8-7776-46a5-9fa0-ec6e93f0f0a6.png\" alt=\"CTA\"><\/a><\/span><\/span><!-- end HubSpot Call-to-Action Code --><\/div>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55055\" src=\"\/wp-content\/uploads\/2021\/05\/unnamed-8.png\" alt=\"Get-Host | Select version cmdlet\" width=\"401\" height=\"87\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/unnamed-8.png 401w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/unnamed-8-300x65.png 300w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><\/p>\n<p>Run the installation script. You can copy-paste it from here.<\/p>\n<p><i><span style=\"font-weight: 400;\">powershell -ExecutionPolicy Bypass -command \"&amp; {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex (New-Object System.Net.WebClient).DownloadString('https:\/\/git.io\/JUSAA'); Install-MSP360Module}\u201d<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400;\">If the PowerShell version on the machine is 5.1 (comes preinstalled on Windows 10 Anniversary Update (version 1607) and Windows Server 2016) or above, you can use just one command to install the MSP360 PowerShell module:<\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">Install-Module msp360<\/span><\/i><\/p>\n<p>Our developers are constantly working on the module, adding new cmdlets. You can check which cmdlets currently exist by running the <i>Get-Command -Module msp360<\/i> script in PowerShell. Here is what you will see:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55056\" src=\"\/wp-content\/uploads\/2021\/05\/unnamed-9.png\" alt=\" Get-Command -Module msp360 script\" width=\"684\" height=\"554\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/unnamed-9.png 684w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/unnamed-9-300x243.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/unnamed-9-624x505.png 624w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/p>\n<p>Use the <i>Get-Help<\/i> cmdlet with the name of any cmdlet that appears in the list to get detailed information.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55057\" src=\"\/wp-content\/uploads\/2021\/05\/unnamed-10.png\" alt=\"Get-Help cmdlet\" width=\"943\" height=\"629\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/unnamed-10.png 943w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/unnamed-10-300x200.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/unnamed-10-768x512.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2021\/05\/unnamed-10-624x416.png 624w\" sizes=\"auto, (max-width: 943px) 100vw, 943px\" \/><\/p>\n<p>With these cmdlets, you can create scripts to change your <a href=\"https:\/\/www.msp360.com\/resources\/blog\/data-backup-plan\/\">backup plans<\/a> or MSP360 Managed Backup agent settings one by one or in bulk. To perform bulk changes, write a script with the required functionality. We recommend testing it on your machine before mass deployment.<\/p>\n<h2>Group Actions with MSP360 RMM<\/h2>\n<p>Some actions can be performed on multiple computers in bulk with MSP360 RMM:<\/p>\n<ul>\n<li>Open PowerShell terminal<\/li>\n<li>Execute PowerShell script from file<\/li>\n<li>Execute PowerShell script from library<\/li>\n<li>Install Windows updates<\/li>\n<li>Install software<\/li>\n<li>Uninstall software<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-57751 aligncenter\" src=\"\/wp-content\/uploads\/2023\/08\/Screenshot_9.png\" alt=\"Group actions - RMM\" width=\"293\" height=\"311\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_9.png 293w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_9-283x300.png 283w\" sizes=\"auto, (max-width: 293px) 100vw, 293px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-57752 aligncenter\" src=\"\/wp-content\/uploads\/2023\/08\/Screenshot_10.png\" alt=\"Group actions\" width=\"1005\" height=\"795\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_10.png 1005w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_10-300x237.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_10-768x608.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_10-624x494.png 624w\" sizes=\"auto, (max-width: 1005px) 100vw, 1005px\" \/><\/p>\n<p>With this feature, you can also choose whether you want to perform the action now or schedule it for later.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-57753 aligncenter\" src=\"\/wp-content\/uploads\/2023\/08\/Screenshot_11.png\" alt=\"Schedule group actions\" width=\"1006\" height=\"797\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_11.png 1006w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_11-300x238.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_11-768x608.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2023\/08\/Screenshot_11-624x494.png 624w\" sizes=\"auto, (max-width: 1006px) 100vw, 1006px\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>Our PowerShell Module extends the functionality of the Managed Backup Service solution. It helps to automate the routine tasks and customize the settings of your plans more deeply, so that you can manage the backed-up data much more effectively.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may already know how the Remote Deploy feature can help you to manage backups on a number of computers. However, the MSP360 PowerShell Module extends its capabilities even further. This module is developed by our in-house specialists and receives regular updates.<\/p>\n","protected":false},"author":89,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[878,931],"tags":[979],"class_list":["post-50824","post","type-post","status-publish","format-standard","hentry","category-msp-university","category-msp360-product-guides","tag-introduction-to-the-powershell-module-for-msp360-managed-backup-service"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/50824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/users\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/comments?post=50824"}],"version-history":[{"count":19,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/50824\/revisions"}],"predecessor-version":[{"id":57754,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/50824\/revisions\/57754"}],"wp:attachment":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/media?parent=50824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/categories?post=50824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/tags?post=50824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}