Skip to content

πŸ€– Simple and different tools written on Powershell or Batch that simplify work with Windows OS.

License

Notifications You must be signed in to change notification settings

kraloveckey/mini-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mini-Projects for Windows OS

ADInventory

ADInventory.ps1 – script to inventory computers in Active Directory. After launching it polls the specified computers in OU.txt and sends to mail an archive with files for each OU from OU.txt (OU-Computers.csv and OU-Software.csv – specifying the name of the OU).

OU.txt – this file must contain the full paths of the OU with Active Directory computers. This file must be located in the same directory when starting ADInventory.ps1.

ADReport.ps1 – script gathers statistics about user accounts (total, active, disabled, new, service accounts) and groups (those missing a description) from specific OUs. It then saves this information into a dated text file and send by email.

.env – the file in which contain the password for SMTP login (for AUTH_USER@).

Description of the files that are sent to the mail in the archive after ADInventory.ps1 execution

Name Description
OU-Computers.csv Contains information on computers: Name, When online, OU, OS, OS Version, IP, CPU, Frequency – MHz, Number of cores, RAM capacity – MB, Drive capacity – GB, Drive models.
OU-Software.csv Contains information on software, the file contains a list of all found software and check marks against computers where it is installed.

ftp

ftp-backup.bat – script for backup FOLDER_NAME and upload archive to FTP Server: IP_HOST.

ftp-reload.bat – script for reload FTP Service.

rollback-up.bat – script for move beta project to prod and prod to old folder and rollback its changes.

lnk

Lock.lnk – shortcut for lock Windows OS.

Restart.lnk – shortcut for restart Windows OS.

Shutdown.lnk – shortcut for shutdown Windows OS.

ps1

change-email.ps1 – script to update the user's email address, where @old_domain.com replacing with @new_domain.com.

change-userdata-by-mail.ps1 – script to change user data (Full Name, First Name, Surname) by email address from change-userdata.csv file.

  • change-userdata.csv – file contains user data (Full Name, First Name, Surname) for change by email address.

find-duplicates-first-last-names.ps1 – script to finding duplicates user by GivenName/Surname combinations with adding the sAMAccountName to the each value.

Other

check.bat – script for scan with DISM and sfc Windows OS.

Disable SMBv1.reg – reg key for disable SMBv1.

info.bat – script for get full information from Windows device and record its to pcinfo.txt file.

Wallpapers.deskthemepack – Surreal Territory themepack of photographic illustration wallpapers.


Donate with PayPal