temp

MS Technet Library - Exchange Problembehandlung
MS Technet Library - Windows Small Business Server 2008

MS TechCenter - Windows Small Business Server

http://learningpcs.blogspot.de/

    [void][Windows.Security.Credentials.PasswordVault,Windows.Security.Credentials,ContentType=WindowsRuntime]
        $PasswordVault = New-Object -TypeName Windows.Security.Credentials.PasswordVault

Powershell:

https://en.wikiversity.org/wiki/PowerShell


Powershell:objektorientiert:

https://www.sapien.com/blog/2015/03/18/hidden-sort-of-the-hidden-keyword-in-windows-powershell-5-0-preview/


Powershell:Module

https://www.powershellgallery.com/packages/SCOrchDev-PasswordVault/2.1.0/Content/SCOrchDev-PasswordVault.psm1

MSTN: System.Management.Automation.Cmdlet
MSDoc: System.Management.Automation.Cmdlet

MSTN: System.Management.Automation.PSCmdlet
MSDoc: System.Management.Automation.PSCmdlet

Understanding a Windows PowerShell Module:
https://msdn.microsoft.com/library/dd878324.aspx

How to Write a PowerShell Module Manifest:
https://msdn.microsoft.com/library/dd878340.aspx

https://docs.microsoft.com/powershell/module/microsoft.powershell.core/new-modulemanifest


WPF:

Password-Dialog:
http://www.blackwasp.co.uk/PasswordBox.aspx


MS-SQL:

Export query result to .csv file in SQL Server 2008
https://stackoverflow.com/questions/3169220/export-query-result-to-csv-file-in-sql-server-2008

DataTables in PowerShell
https://blog.netnerds.net/2015/02/working-with-basic-net-datasets-in-powershell/

MS-SQL & JSON
https://docs.microsoft.com/sql/relational-databases/json/json-data-sql-server

Linq & Powershell
https://stackoverflow.com/questions/38360545/can-linq-be-used-in-powershell
https://outnull.wordpress.com/2016/10/16/linq-in-powershell/


Windows 7:

QuickLaunch:
%APPDATA%\Microsoft\Internet Explorer\Quick Launch

Autostart-Ordner:
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup


Culture

Get-Culture | Format-List -Property *
Get-UICulture | Format-List -Property *

[Threading.Thread]::CurrentThread.CurrentCulture

https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/get-culture
https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/get-uiculture

[System.Globalization.CultureInfo]::GetCultures( [System.Globalization.CultureTypes]::AllCultures )

https://stackoverflow.com/questions/7052765/powershell-changing-the-culture-of-current-session


[DateTime]

https://msdn.microsoft.com/library/az4se3k1.aspx


[ADSI] = [System.DirectoryServices.DirectoryEntry]
https://gallery.technet.microsoft.com/scriptcenter/Get-ADSIObject-Portable-ae7f9184
https://msdn.microsoft.com/library/system.directoryservices.directoryentry.aspx

http://www.itprotoday.com/windows-8/check-if-ou-exists-using-powershell
[string] $Path = "OU=Labs,OU=NA,DC=savilltech,DC=net"
if(![adsi]::Exists("LDAP://$Path"))
{
}

https://www.msxfaq.de/code/powershell/ps-ldap-gc.htm

https://blogs.msdn.microsoft.com/adpowershell/2009/03/11/active-directory-powershell-the-drive-is-the-connection/

https://blogs.msdn.microsoft.com/arulk/2006/07/25/adsi-scripting-with-windows-powershell/


Active Directory via REST

http://samirvaidya.blogspot.de/2012/06/using-active-directory-web-services-in.html
https://msdn.microsoft.com/en-us/library/dd303965.aspx


Set-StrictMode -Version Latest

  1. Set-PSDebug -Trace 2

$Script:OutputEncoding = New-Object -TypeName System.Text.UTF8Encoding
$Script:ErrorActionPreference = [System.Management.Automation.ActionPreference]::Stop

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables

[System.Enum]::getValues([System.Management.Automation.ActionPreference])
[System.Enum]::getNames([System.Management.Automation.ActionPreference])

https://blogs.technet.microsoft.com/heyscriptingguy/tag/powertip/

MSTN: about_Functions_Advanced_Parameters



https://kevinmarquette.github.io/2017-04-10-Powershell-exceptions-everything-you-ever-wanted-to-know/

https://stackoverflow.com/questions/9294949/when-should-i-use-write-error-vs-throw-terminating-vs-non-terminating-errors

MSTN: Write-Error
MSDoc: Write-Error
about_Throw
about_Return
about_Throw
about_Trap

MSTN: about_Throw
MSDoc: about_Throw

MSTN: about_Try_Catch_Finally


https://stackoverflow.com/questions/8901507/how-do-i-make-a-powershell-function-return-an-object-and-set-to-false

$MyErrorRecord = New-Object -TypeName System.Management.Automation.ErrorRecord -ArgumentList "", "", ([System.Management.Automation.ErrorCategory]::NotSpecified), ""
$PSCmdlet.WriteError($MyErrorRecord)


$m = new-module -ascustomobject { function Add($x,$y) { $x + $y } }; $m.Add(1,1)


MD5 Hash from String (PS5@W10)

(([System.BitConverter]::ToString((New-Object -TypeName System.Security.Cryptography.MD5Crypovider).ComputeHash( ([system.Text.Encoding]::UTF8).GetBytes("KeepThingsEasy") ))) -replace "\W").ToLower()

MD5 Hash from String (PS4@W7)

(([System.BitConverter]::ToString((New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider).ComputeHash( ([system.Text.Encoding]::UTF8).GetBytes("KeepThingsEasy") ))) -replace "\W").ToLower()

desktop.ini Favoriten@W7

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21796
IconResource=%SystemRoot%\system32\imageres.dll,-115
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-173

http://ukgo.altervista.org/links/Linksammlung__BooksIT.html


Powershell: Banner

function Write-Banner {
    [CmdletBinding()]
    param (

        # Text
        [parameter(Mandatory=$true)]
        [ValidateNotNullOrEmpty()]
        [System.String]$Text,

        [parameter(Mandatory=$false)]
        [ValidateNotNullOrEmpty()]
        [System.Int16]$Width = 80,

        [parameter()]
        [Switch]$ToClipboard
    )

    $Text = $Text.Trim()
    $Local:pl = [System.Math]::Floor( ($Width - ($Text.Length)) / 2 + ($Text.Length) - 1)
    $Local:pr = (($Width - 1) *-1)

    $Local:OutValue = ("{1}{0}#{2}#{0}{3,$pr}#{0}#{2}#{0}{1}" -f ([System.Environment]::NewLine), ("#" * $Width), (" " * ($Width - 2)), ("#{0,$pl}" -f $Text))

    if ($ToClipBoard) {
        $OutValue | clip
    } else {
        return $OutValue
    }
}

foreach ($i in 33..127) { $c = ([System.Convert]::ToChar($i)).ToString() ; Write-Host ("{0}: " -f $c) -NoNewline ; $c -match "\w" }

foreach ($c in @("Ä", "ä", "Ü", "ü", "Ö", "ö", "ß")) { Write-Host ("{0}: " -f $c) -NoNewline ; $c -match "\w" }


LATEX: Interaktive Formulare
http://texwelt.de/wissen/fragen/7768/wie-erstelle-ich-ein-gutes-ausfullbares-pdf-formular


explorer.exe "shell:::{26EE0668-A00A-44D7-9371-BEB064C98683}\0\::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921} -Microsoft.Personalization\pageWallpaper"

$host.ui.RawUI.WindowTitle = "Changed Title"

Get-ChildItem // v2.0

Get-ChildItem -Recurse -Include *.log | Sort-Object -Property LastWriteTime -Descending | Select-Object -Property LastWriteTime, Fullname

Get-ChildItem -Path "C:\" -Recurse -Include *.log | Sort-Object -Property LastWriteTime -Descending | Select-Object -Property LastWriteTime, Fullname

Set Powershell prompt to current ISO 8601

function prompt { ("PS:{0}>" -f ((Get-Date).ToString("s") -replace "[^\dT]" )) }

function prompt {  Write-Host ("PS:{0}>" -f ((Get-Date).ToString("s"))) -NoNewline -ForegroundColor Yellow ; return " " }

function prompt {  Write-Host ("PS:{0}>" -f ((Get-Date).ToString("s") -replace "[^\dT]" )) -NoNewline -ForegroundColor Yellow ; return " " }

http://ukgo.altervista.org/links/Linksammlung__BooksIT.html


Dynamische Parameter:
https://www.msxfaq.de/code/powershell/psparam.htm
https://docs.microsoft.com/de-de/dotnet/api/system.management.automation.validatesetattribute
https://github.com/RamblingCookieMonster/PowerShell/blob/master/New-DynamicParam.ps1
https://stackoverflow.com/questions/22032525/is-it-possible-to-add-a-validation-attribute-to-a-function-parameter-after-the-f

http://www.powershellmagazine.com/2014/05/29/dynamic-parameters-in-powershell/

Konzeptionelle Hilfethemen für Windows PowerShell Core
about_Comment_Based_Help


https://www.govinda-natur.de/shop/stevia/705/stevia-tabs


Jekyll:
Jekyll
Jekyll plugin that converts AsciiDoc

http://magazin.phlow.de/jekyll/


https://de.wikipedia.org/wiki/Liste_von_Abk%C3%BCrzungen_(Netzjargon)


Excel:

https://support.office.com/en-us/article/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3
https://support.office.com/de-de/article/spezifikationen-und-beschränkungen-in-excel-1672b34d-7043-467e-8e27-269d656771c3

https://excelmacromastery.com/excel-vba-array/


Konfigurationsdatei:
Wo sollen die "Windows-Domänen

Brennpunkte:
Berechtigungen: Berechtigungsschema/Rollen finalisieren.

Berechtigungen: SafeMaster_All (als fallback, im Normalbetrieb deaktiviert. Können deaktivierte Benutzerkonten als Member hizugefügt werden? Dualcontrol?

Gruppen: Anlage der neuer Gruppen, diese Woche! Berechtigung auf alte Safes, als Vorbereitung zur Migration der Safes. Die neuen Safes bleiben sauber.


((Get-Command -Name Write-Host).Parameters.ForegroundColor.ParameterType).GetEnumValues() | ForEach-Object { Write-Host ("====> This Coler is named {0}" -f $_) -ForegroundColor $_ }
# or
([System.ConsoleColor]).GetEnumValues() | ForEach-Object { Write-Host ("====> This Coler is named {0}" -f $_) -ForegroundColor $_ }

$true  -and $true     => true
$true  -and $false    => false
$false -and $true     => false
$false -and $false    => false

$true  -or $true       => true
$true  -or $false      => true
$false -or $true       => true
$false -or $false      => false

$true  -xor $true      => false
$true  -xor $false     => true
$false -xor $true      => true
$false -xor $false     => false

Wer jeden Tag zwei stunden läuft lebt zwei Jahre länger, verbringt aber vier Jahre mit laufen.


https://de.wikipedia.org/wiki/Portable_Kontakte

SCIM: https://en.wikipedia.org/wiki/System_for_Cross-domain_Identity_Management
Sailpoint: https://www.sailpoint.com/blog/scim-2-0-eagle-landed/
Sailpoint + PAM: https://www.sailpoint.com/news/sailpoint-introduces-privileged-account-management-module/


JSON
https://www.youtube.com/watch?v=7YcW25PHnAA
https://www.programmableweb.com/


Python

YouTube-Chanal: Corey Schafer
Python Tutorial: Working with JSON Data using the json Module
Python Tutorial: CSV Module - How to Read, Parse, and Write CSV Files
Python Tutorial: Python OOP Tutorial 1: Classes and Instances

https://www.youtube.com/watch?v=Xi52tx6phRU


JIRA

Filter:

(project = FIRST OR project = SECOND) AND assignee = currentuser()

project IN ("FIRST", "SECOND") AND status NOT IN (Abgenommen, Erledigt, Abgeschlossen) AND assignee = currentuser() ORDER BY created ASC

JIRA - Advanced searching


CMD Printer

http://www.winfaq.de/faq_html/Content/tip2000/onlinefaq.php?h=tip2028.htm
https://www.gruppenrichtlinien.de/artikel/drucker-per-script-zuweisen/


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License