9/15/2023 0 Comments Pingplotter 5 code![]() NET 4.0, even though they are addressable if. # Use integers because the enumeration value for TLS 1.2 won't exist # Set TLS 1.2 (3072) as that is the minimum required by various up-to-date repositories. # We initialize a few things that are needed by this script - there are no other requirements. # You need to have downloaded the Chocolatey package as well. Download Chocolatey Package and Put on Internal Repository # # repositories and types from one server installation. # are repository servers and will give you the ability to manage multiple # Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they # generally really quick to set up and there are quite a few options. # You'll need an internal/private cloud repository you can use. Internal/Private Cloud Repository Set Up # ![]() # Here are the requirements necessary to ensure this is successful. Your use of the packages on this site means you understand they are not supported or guaranteed in any way. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.įortunately, distribution rights do not apply for internal use. If you are an organization using Chocolatey, we want your experience to be fully reliable.ĭue to the nature of this publicly offered repository, reliability cannot be guaranteed. Human moderators who give final review and sign off.Security, consistency, and quality checking.ModerationĮvery version of each package undergoes a rigorous moderation process before it goes live that typically includes: # deleted next time through.Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community. # It’s possible that a data file is open and if that’s the case it won’t be deletable. Otherwise, check if running as a service and use that. # If datadir is passed in, then use that. Write-Host "Deleting data files that only contain data collected before: $keepdate UTC" Throw "Both keepdays and keepmonths are 0 or negative. $keepdate = (Get-Date).AddMonths(-$keepmonths) $keepdate = (Get-Date).AddDays(-$keepdays) # Change the script or pass 0 as a parameter to actually delete data. # -dryrun Just show what’s going to be deleted and don’t actually delete anything. # Should *not* include the "SampleSets" part of the directory (just the root storage directory). # -datadir If a custom data directory is in use, this is where the data will be deleted from. # until there’s a complete full month available - February would be deleted on April 1st though # full month, so January would be deleted on March 1st, but February won’t be deleted On monthly flexstore, 1 month will always keep at least # -keepmonths Is in the format of months to keep. # won’t delete the month of January on March 1st because #January 31st is less than 30 days away. For example, on monthly flexstore, a value of 30 days # -keepdays Is in the format of days to keep. # Figure out the date beforehand that it is OK to delete: Write-Host "LIVE - data is being deleted." Write-Host “DRYRUN - data isn’t actually being deleted.” Param ( $keepdays = 0, $keepmonths = 1, $datadir = "", $dryrun = 1) The download for our Windows PowerShell script is available at the bottom of this page. You can use the one we've made or you can make something to your own liking! We’ve done it here using a Windows PowerShell script. If you’ve got bigger fish to fry than going through your files and deleting them manually, you can absolutely have a script do it for you. ![]() Otherwise, the data will no longer be tied to the session. Make sure that you don't change this value.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |