ContributeMost Recent Contributions (feed)
- File encoding no BOM
- 14 hours ago
-
Returns the encoding type of the file; uses Byte Order Marker (BOM) if exists else analyzes files contents to determine encoding.
- NFSMountUsingReference
- 15 hours ago
-
Mount NFS datastore using reference host – DNS or IP
- Enable PS Remoting
- 22 hours ago
-
Enable Powershell Remoting allowing access for all trusted hosts
- SearchZIP.psm1
- 30 hours ago
-
In any directory containing a large number of ZIP/RAR compressed Web Page files this procedure will search each individual file name for simple text strings, listing both the source RAR/ZIP file and the individual file name containing the string.
Please ensure that this file is saved with the .psm1 extension and placed in the ‘Module’ directory.
- Start-RDP
- 36 hours ago
-
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client.
syntax highlighting fix.Uncomment the function code to make a global function.
- NTFS ACLs Folder Tree
- 38 hours ago
-
This script generate a HTML report show all ACLs asociated with a Folder tree structure starting in root specified by the user
- Create RTF File
- 3 days ago
-
Very simple script to create an RTF (Rich Text Format) file with Windows Powershell with variable substitution. Yes this could be a very basic Mail Merge type document WITHOUT the use of Microsoft Word
- ScheduleGPOBackups.ps1
- 3 days ago
-
Requires Powershell 2.0 & the grouppolicy module.
Using the configuration block in the script you can define where to back GPOs up to, how often to backup everything and how often to backup only what has changed since the last good backup. Schedule the script to automatically run every so often depending on your needs and you should have a nice GPO backup solution.
- SearchZIP.psm1
- 5 days ago
-
If there are a large number of, for example, saved Web Pages (mht,htm,html,pdf) stored in compressed ZIP or RAR files, it can be very difficult to locate any particular one.
In any such directory containing a number of these files this (module) procedure will search each individual file name for simple text strings, listing both the source RAR/ZIP file and the individual file name containing the string.
Please ensure that this file is saved with the .psm1 extension and placed in the ‘Module’ directory.
- ConvertTo-Hex
- 6 days ago
-
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g.
010500000000000515000000BB0B4815C33A022074381B7409050000
PowerShell Code Repository