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
FAULTING_IP: | |
+8d8ee91ba0 | |
00000000`00000000 ?? ??? | |
EXCEPTION_RECORD: ffffffffffffffff -- (.exr 0xffffffffffffffff) | |
ExceptionAddress: 0000000000000000 | |
ExceptionCode: 80000007 (Wake debugger) | |
ExceptionFlags: 00000001 | |
NumberParameters: 0 |
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
function Set-ComputerName { | |
param( [switch]$help, | |
[string]$CurrentPCName=$(read-host "Please specify the current name of the computer"), | |
[string]$computerName=$(read-host "Please specify the new name of the computer")) | |
$usage = "set-ComputerName -CurrentPCname CurrentName -computername AnewName" | |
if ($help) {Write-Host $usage;break} | |
$computer = Get-WmiObject Win32_ComputerSystem -CurrentPCname CurrentName -computername $currentPCName | |
$computer.Rename($computerName) |
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
$NumDays = 0 | |
$LogDir = ".\AD-Accounts.csv" | |
$currentDate = [System.DateTime]::Now | |
$currentDateUtc = $currentDate.ToUniversalTime() | |
$lltstamplimit = $currentDateUtc.AddDays(- $NumDays) | |
$lltIntLimit = $lltstampLimit.ToFileTime() | |
$adobjroot = [adsi]'' | |
$objstalesearcher = New-Object System.DirectoryServices.DirectorySearcher($adobjroot) | |
$objstalesearcher.filter = "(&(objectCategory=person)(objectClass=user)(lastLogonTimeStamp<=" + $lltIntLimit + "))" |
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
If (${env:ProgramFiles(x86)}) { | |
$uninstallpaths = Get-ChildItem -Path ${env:ProgramFiles(x86)}, $env:ProgramFiles -Recurse -Filter uninstall.exe | Where-Object {$_.fullname -like "*teamv*"} | Select-Object -expandproperty fullname | |
} | |
Else {$uninstallpaths = Get-ChildItem -Path $env:ProgramFiles -Recurse -Filter uninstall.exe | Where-Object {$_.fullname -like "*teamv*"} | Select-Object -expandproperty fullname} | |
If ($uninstallpaths) { | |
foreach ($uninstallpath in $uninstallpaths) { | |
Start-Process cmd -ArgumentList "/C `"$uninstallpath`" /S" -Wait | |
} | |
} |
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
Get-ADComputer -Filter {(OperatingSystem -Like "Windows *Server*")-and (Enabled -eq "True")} -Property * | Select Name,OperatingSystem,OperatingSystemServicePack,IPv4Address | export-csv Servers.csv -notypeinformation |
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
<# | |
.NOTES | |
=========================================================================== | |
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.119 | |
Created on: 5/3/2016 09:37 | |
Created by: Colin Squier <[email protected]> | |
Filename: Install-SkypeForBusiness2015.ps1 | |
=========================================================================== | |
.DESCRIPTION | |
Automates installation of Skype For Business 2015. |
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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
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
Function Create-UpdateVBS { | |
Param ($computername) | |
#Create Here-String of vbscode to create file on remote system | |
$vbsstring = @" | |
ON ERROR RESUME NEXT | |
CONST ForAppending = 8 | |
CONST ForWriting = 2 | |
CONST ForReading = 1 | |
strlocalhost = "." | |
Set oShell = CreateObject("WScript.Shell") |
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
#!/usr/bin/env bash | |
############################################################################### | |
# Admin - Global | |
############################################################################### | |
# Ask for the administrator password upfront | |
sudo -v | |
############################################################################### |
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
Traceroute has started… | |
traceroute to www.google.com (172.217.3.196), 64 hops max, 72 byte packets | |
1 209.66.74.165.ipyx-139957-zyo.above.net (209.66.74.165) 10.115 ms 12.685 ms 33.592 ms | |
2 * ae3.cs4.iad93.us.eth.zayo.com (64.125.24.10) 11.624 ms * | |
3 ae15.er5.iad10.us.zip.zayo.com (64.125.25.167) 12.060 ms 10.475 ms 11.428 ms | |
4 64.125.13.190 (64.125.13.190) 9.217 ms 11.376 ms 10.360 ms | |
5 108.170.240.97 (108.170.240.97) 9.291 ms 9.484 ms 11.489 ms | |
6 108.170.240.98 (108.170.240.98) 11.369 ms 17.794 ms 12.610 ms | |
7 216.239.35.162 (216.239.35.162) 13.854 ms 12.548 ms 12.061 ms |
OlderNewer