This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ErrorActionPreference = 'Stop'; | |
$packageName= 'netscan' | |
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | |
$url = 'https://www.softperfect.com/download/freeware/netscan.zip' | |
$url64 = 'https://www.softperfect.com/download/freeware/netscan.zip' | |
$specificFolder = '32-bit' | |
if (Get-ProcessorBits 64) { | |
$specificFolder = '64-bit' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<AdminArsenal.Export Code="PDQDeploy" Name="PDQ Deploy" Version="7.1.0.0" MinimumVersion="3.1"> | |
<Package> | |
<Description></Description> | |
<FolderId value="null" /> | |
<Name>Outlook 2010 (KB3114409) Safe Mode Fix</Name> | |
<Path>Outlook 2010 (KB3114409) Safe Mode Fix</Path> | |
<Version></Version> | |
<PackageDefinition name="Definition"> | |
<CopyMode>Default</CopyMode> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Now test for the different file types. | |
# | |
if [ -f "${FNAME}" ]; then | |
case "${OPT_NAME}" in | |
ALLOWHIDDENDIR|TMPDIR|DBDIR|BINDIR|SCRIPTDIR|ROOTDIR|SSH_CONFIG_DIR|SUSPSCAN_DIRS|SUSPSCAN_TEMP) | |
ERRCODE=1 | |
test $CONFIG_CHECK -eq 1 && RET_CODE=1 | |
echo "Invalid ${OPT_NAME} configuration option: Not a directory: ${FNAME}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a new cron job (crontab -e) or use panel.dreamhost.com and run it daily | |
0 0 * * * /home/<your_account>/opt/bin/logrotate -f -s /home/<your_account>/opt/lib/logrotate.status /home/<your_account>/opt/etc/logrotate.conf |