This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
Title FindGroups | |
REM ####################################### | |
echo [CmdletBinding()]>%CD%\findgroups.ps1 | |
echo Param(>>%CD%\findgroups.ps1 | |
echo [Parameter(Mandatory=$True,Position=1)]>>%CD%\findgroups.ps1 | |
echo [string]$user>>%CD%\findgroups.ps1 | |
echo. >>%CD%\findgroups.ps1 | |
echo )>>%CD%\findgroups.ps1 | |
echo. >>%CD%\findgroups.ps1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Present the Mhz of a CPU over a short period of time. Quick dirty average of 5 seconds | |
function Get-WorkArea { | |
if (![System.IO.Directory]::Exists("C:\support\")) { | |
[system.io.directory]::CreateDirectory("c:\Support") | |
} | |
if ([System.IO.Directory]::Exists("C:\support\UpToStandard")) { | |
$FileTime = Get-Date -format 'MM.dd.yyyy' | |
$Script:Rando = Get-Random -Maximum 100 | |
Rename-Item -Path "C:\support\UpToStandard" -NewName "C:\support\UpToStandard-$FileTime-$Rando" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:START | |
color 0 | |
setlocal | |
cls | |
echo. | |
set user= | |
set /p user=Enter First or Last name, or part of a name: | |
cls |