Skip to content
/ scripts Public

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

License

Notifications You must be signed in to change notification settings

pfzim/scripts

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published