I hereby claim:
- I am sdaaish on github.
- I am sdaaish (https://keybase.io/sdaaish) on keybase.
- I have a public key ASAD58QTOvEh9qvpEvEMEFCS7P1Uk4YoiwRrXflu_yOkTQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[string[]]$directories = @("~", "~\AppData\Roaming") | |
# Creates links in both ~ and AppData\Roaming | |
Function create-link([string]$file, [string]$dir) { | |
$link = (Join-Path -Path $dir -Childpath $file) | |
New-Item -Name $file -Path $dir -Type SymbolicLink -Value $link | |
} | |
# Emacs links | |
foreach ($dir in $directories){ |
#requires -RunAsAdministrator | |
<#----------------------------------------------------------------------------- | |
Ashley McGlone, Microsoft Premier Field Engineer | |
http://aka.ms/goateepfe | |
February 2016 | |
Install-ADModule | |
For Windows 10 performs the following tasks: | |
- Downloads and installs Windows 10 RSAT for the appropriate system architecture | |
- Enables the RSAT AD PowerShell feature |
System | Ip | Type | Other | |
---|---|---|---|---|
dev.idg.se | 1.1.1.1 | Ubuntu | Development | |
hr.dn.se | 2.2.2.2 | Debian | Human Resources | |
www.gp.se | 3.3.3.3 | FreeBsd | Front web site |
# Some python testing | |
## Checkout Corey Schafer on Youtube | |
print ("hello world") | |
message = 'Hello world' | |
print(message) | |
print(len(message)) | |
print(message[0:5]) |
$csv = Import-CSV .\data.csv | |
$linux = $csv|where { $_.Owner -like "Linus" } | |
$linux | |
$csv | |
foreach ($a in $csv) { | |
$b += $a.Owner + "," | |
} | |
#$b |
$Mailboxes = Get-Mailbox -ResultSize Unlimited | |
ForEach ($Mailbox in $Mailboxes) | |
{ | |
$MailboxWithRule = Get-InboxRule -Mailbox $Mailbox.Alias | | |
where | |
{ | |
($_.RedirectTo -ne $null) -or ($_.ForwardTo -ne $null) -or ($_.ForwardAsAttachmentTo -ne $null) | |
} | |
if ($MailboxWithRule -ne $Null) | |
{ |
# Copy from https://raw.githubusercontent.com/drwetter/testssl.sh/2.9dev/Dockerfile | |
FROM alpine:latest | |
RUN apk update && \ | |
apk upgrade && \ | |
apk add bash procps drill git coreutils && \ | |
apk add --no-cache curl | |
RUN addgroup testssl && \ | |
adduser -G testssl -g "testssl user" -s /bin/bash -D testssl && \ |
!*.log |
dev.idg.se | 1.1.1.1 | Ubuntu | Development | |
---|---|---|---|---|
hr.dn.se | 2.2.2.2 | Debian | Human Resources | |
www.gp.se | 3.3.3.3 | FreeBsd | Front web site |