Giter Site home page Giter Site logo

pfzim / scripts Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 268 KB

My useful scripts (System Center Orchestrator, NetBackup, SharePoint, PowerShell, bash and many other...)

License: GNU General Public License v3.0

Shell 4.24% Batchfile 1.47% PowerShell 92.60% PHP 0.42% Python 1.27%
system-center-orchestrator netbackup sccm scorch share sharepoint shell bash

scripts's Introduction

rotate.cmd, rotate.sh - remove files olders than XX days and stay it if 1 or 15 day of month backup-YYYY-MM-DD-any-name-here.ext

purge_exchanger.sh - move files unmodified more that XX days to subfolder and remove permanently after XX days

etc/fonts - fontconfig settings for MS fonts with disabled antialiasing

windows-resistry - different Windows registry settings

settings - other linux configuration files

orchestrator/ - Runbooks for System Center Orchestrator

NetBackup/ - scripts for generate different reports

Disassembler0/Win10-Initial-Setup-Script#250
Receive updates for other Microsoft products (Windows 7)
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "")

Replace failed disk in LVM software RAID

  pvs
  lvs
  # delete all partitions on new disk
  fdisk /dev/sdc
  # add new (replaced) disk to LVM
  pvcreate /dev/sdc
  # add new disk to VG
  vgextend vg_raid /dev/sdc
  # remove old failed disk from VG
  vgreduce --removemissing vg_raid --force
  # activate LV
  lvchange -ay vg_raid/lv_raid5
  # start sync
  lvconvert --repair vg_raid/lv_raid5
  lvs
  pvs

scripts's People

Contributors

pfzim avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.