Skip to content

seyo-IV/PowerShell-Power-User-Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A smal collection of scripts i have used over time which can be nice to have in your toolbelt!

Commands

perm

perm Lists NTFS permissions.

id

id I tried to make a Linux "id" command but the PowerShell way :D. AD not tested, but should work, sadly i dont have AD at home :(.

touch

touch For the lazy of us.

top

top Not even close to the original but stil nice.

fgrep

fgrep "f" stand for file, since you only can use that on plain text files and not like the normal grep, where you could filter after executing "ps"(for example).

find

find It works just like the file -f command.

sysinfo

sysinfo Gather usefull infos of local or remote computer.

chown

chown Change owner of file.

chperm

chperm Change NTFS permission on directory or file. (Sry no fancy output yet :C)

free

free Just like the free command on Linux, it shows memory and swap stats.

diskfree

diskfree Shows disk/volume information. Just like the df -h command.

diskusage

diskusage Like the du command on Linux.

How to install!

IMPORTANT! You will need PS Version 7 or higher for the top script to run.

Open PowerShell. Type $env:PSModulePath -split ';' Choose one of the locations and paste the "Power-User" direcotry there.

Then open a new PowerShell console and type Import-Module Power-User

If you can't import the module for wahtever resaon, try Get-Module -ListAvailable and look for Power-User.

If nothing works do this Import-Module \\Path\to\Power-User

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published