Skip to content

senad-meskin/powerscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerScripts

Useful PowerShell scripts

Guid generator

Guid generator will generate GUID and put it into the Clipboard

Just type guid into your powershell console

E:\ps> guid
Guid: d5bae5bc-d0dc-47ef-bbf7-1323f7a2180e copied to the clipboard!
E:\ps>

git-ignore

Git ignore is scripth that downloads .gitignore template from Github

Example

git-ignore VisualStudio

will download contents of the file https://raw.githubusercontent.com/github/gitignore/master/VisualStudio.gitignore and save it to file .gitignore

Possible problems

Names of templates are case sensitive so you should know the name before downloading.

RNA (Restart Network Adapter)

How to use

rna -ti 10 -adapterName "mreza"

rna - name of PowerSHell script

-ti - how many seconds to wait before enabling adapter again (default 5)

-adapterName - name of your network adapter (default "mreza")

You can call this script with default parameters

rna

if you need to change default parameters edit param section in rna.ps1 file

About

Useful PowerShell scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published