<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>script &#8211; SystemTechnics</title>
	<atom:link href="https://www.systemtechnics.de/tag/script/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.systemtechnics.de</link>
	<description>IT Consulting</description>
	<lastBuildDate>Sat, 09 Nov 2024 06:06:27 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.systemtechnics.de/wp-content/uploads/cropped-2003-logo-st-transparanet-x200-32x32.png</url>
	<title>script &#8211; SystemTechnics</title>
	<link>https://www.systemtechnics.de</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Einzeiler um den Wechsel von Classic Outlook zu New Outlook zu verhindern</title>
		<link>https://www.systemtechnics.de/einzeiler-um-den-wechsel-von-classic-outlook-zu-new-outlook-zu-verhindern/</link>
		
		<dc:creator><![CDATA[knut]]></dc:creator>
		<pubDate>Sat, 09 Nov 2024 05:45:37 +0000</pubDate>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Batch/Powershell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[reg]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[script]]></category>
		<guid isPermaLink="false">https://www.systemtechnics.de/?p=3833</guid>

					<description><![CDATA[Um den vielleicht ungewollten Wechseln von dem klassischen Outlook zum &#8222;New Outlook&#8220; kann folgender Einzeiler verwendet werden: (Achtung: Das Code [&#8230;]]]></description>
										<content:encoded><![CDATA[


<p>Um den vielleicht ungewollten Wechseln von dem klassischen Outlook zum &#8222;New Outlook&#8220; kann folgender Einzeiler verwendet werden:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bat" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">reg add HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\outlook\preferences  /t REG_DWORD /v NewOutlookMigrationUserSetting /d 0</pre>



<p>(Achtung: Das Code Plugin macht aus <strong>office\16.0\outlook</strong> ein <strong>office.0\outlook</strong>. )</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Bash Script direkt vom Desktop starten</title>
		<link>https://www.systemtechnics.de/bash-script-direkt-vom-desktop-starten/</link>
		
		<dc:creator><![CDATA[knut]]></dc:creator>
		<pubDate>Sun, 17 Sep 2023 05:33:10 +0000</pubDate>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Anleitungen]]></category>
		<category><![CDATA[Batch/Powershell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[verknüpung]]></category>
		<guid isPermaLink="false">https://www.systemtechnics.de/?p=3640</guid>

					<description><![CDATA[Hat man unter Windows ein Bash Script in einer Cygwin Umgebung erstellt, so möchte man dies vielleicht direkt von seinem [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hat man unter Windows ein Bash Script in einer Cygwin Umgebung erstellt, so möchte man dies vielleicht direkt von seinem Desktop starten.</p>



<p>Am einfachsten klickt man mit der rechten Maustasten auf einen freien Platz und klickt auf Neu -&gt; Verknüpfung.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="932" height="844" src="https://www.systemtechnics.de/wp-content/uploads/Neue-Verknuepung.png" alt="" class="wp-image-3641" srcset="https://www.systemtechnics.de/wp-content/uploads/Neue-Verknuepung.png 932w, https://www.systemtechnics.de/wp-content/uploads/Neue-Verknuepung-300x272.png 300w, https://www.systemtechnics.de/wp-content/uploads/Neue-Verknuepung-768x695.png 768w" sizes="(max-width: 932px) 100vw, 932px" /></figure>



<p>Dort folgen wir dem Assistenten und geben als auszuführenden Befehl folgendes an:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">C:\cygwin64\bin\bash.exe --login -i "c:/cygwin64/home/knut/get-mecom"</pre>



<p>Der Pfad und Name des Skriptes (hier &#8222;c:/cygwin64/home/knut/get-mecom&#8220; ) muss natürlich angepasst werden.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Minify / UnMinify</title>
		<link>https://www.systemtechnics.de/minify-unminify/</link>
		
		<dc:creator><![CDATA[knut]]></dc:creator>
		<pubDate>Fri, 29 Jan 2021 09:52:26 +0000</pubDate>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[minify]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[unminify]]></category>
		<guid isPermaLink="false">https://www.systemtechnics.de/?p=2953</guid>

					<description><![CDATA[Manche (fertigen) Javascripte werden &#8222;minifiziert&#8220;. Zum einen damit diese nicht mehr so gut lesbar für Nutzer sind und zum anderen [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Manche (fertigen) Javascripte werden &#8222;minifiziert&#8220;. Zum einen damit diese nicht mehr so gut lesbar für Nutzer sind und zum anderen um Ladezeit zu sparen. Ob es etwas bringt sei mal dahingestellt.</p>
<p>Mit folgendem Webportal kann man solche Scripte wieder leserlich machen. Einfach den Code in das vorgesehene Textfeld einfügen und schon ergibt das wieder lesbaren Code.</p>
<p><a href="https://unminify.com/" target="_blank" rel="noopener">Klick: UnMinify</a></p>



<figure class="wp-block-image size-large"><img decoding="async" width="994" height="633" src="https://www.systemtechnics.de/wp-content/uploads/unminify.png" alt="" class="wp-image-2954" srcset="https://www.systemtechnics.de/wp-content/uploads/unminify.png 994w, https://www.systemtechnics.de/wp-content/uploads/unminify-300x191.png 300w, https://www.systemtechnics.de/wp-content/uploads/unminify-768x489.png 768w" sizes="(max-width: 994px) 100vw, 994px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Nützliche Exchange Powershell Befehle</title>
		<link>https://www.systemtechnics.de/nuetzliche-exchange-powershell-befehle/</link>
		
		<dc:creator><![CDATA[knut]]></dc:creator>
		<pubDate>Thu, 17 Sep 2015 16:51:45 +0000</pubDate>
				<category><![CDATA[Batch/Powershell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[script]]></category>
		<guid isPermaLink="false">http://www.systemtechnics.de/?p=617</guid>

					<description><![CDATA[Hier eine kleine Aufstellung nützlicher Exchange Powershell Befehle die ich gerne mal verwende Kompletten Forest freischalten: Set-AdServerSettings -ViewEntireForest:$true Postfach untersuchen [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Hier eine kleine Aufstellung nützlicher Exchange Powershell Befehle die ich gerne mal verwende</p>
<p><span id="more-617"></span></p>
<p>Kompletten Forest freischalten:</p>
<pre><code>Set-AdServerSettings -ViewEntireForest:$true </code></pre>
</p>
<p>Postfach untersuchen ob eine Servergespeicherte Weiterleitungsregel existiert.</p>
<pre><code>Get-Mailbox kherter | Get-InboxRule | Select-Object mailboxownerid, name, enabled  | fl </code></pre>
</p>
<p>Alle Eigenschaften einer Mailbox abfragen:</p>
<pre><code>Get-Mailbox kherter | fl </code></pre>
</p>
<p>Postfach zur Mailadresse finden:</p>
<pre><code>get-recipient -results unlimited | where {$_.emailaddresses -match "<strong>user@domain.com</strong>"} | select name,emailaddresses,recipienttype</code></pre>
</p>
<p>Getrennte Postfächer aktualisieren:</p>
<pre><code>Get-MailboxDatabase | Clean-MailboxDatabase </code></pre>
</p>
<p>Getrennte Postfächer anzeigen:</p>
<pre><code>Get-MailboxDatabase | Get-MailboxStatistics | Where{ $_.DisconnectDate -ne $null } |fl DisplayName, Database, Identity, DisconnectReason </code></pre>
</p>
<p>Mailboxen anzeigen die ein bestimmtes Attribut haben:</p>
<pre><code>Get-mailbox | where {$_.CustomAttribute6 -eq "SystemTechnics"} | ft FirstName,LastName,RecipientType </code></pre>
</p>
<p>Mailboxen anzeigen, welche kein leeres Attribut haben:</p>
<pre><code>Get-mailbox -ResultSize Unlimited | where {$_.CustomAttribute6 –ne ""} | select name,SamAccountName, PrimarySmtpAddress, WindowsEmailAddress, CustomAttribute6  | export-csv -Delimiter ";" c:\temp\Attribute6.csv </code></pre>
</p>
<p>Send-As Rechte prüfen:</p>
<pre><code>Get-Mailbox | Get-ADPermission | where {($_.ExtendedRights -like "*Send-As*") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT-AUTORITÄT\SELBST")} |  Format-Table Identity, User</code></pre>
</p>
<p>Tracking Log im bestimmten Zeitraum prüfen:</p>
<pre><code>Get-TransportServer EX-*| Get-MessageTrackingLog -Start "01/22/2015 00:00:00" -End "02/18/2015 23:59:00" -ResultSize 425000 | select EventID,Timestamp,Recipients > GesamtMails.csv</code></pre>
</p>
<p>Postfächer mit Weiterleitungen identifizieren:</p>
<pre><code>Get-Mailbox | Where {$_.ForwardingAddress -ne $null} | Select Name, PrimarySMTPAddress, ForwardingAddress, DeliverToMailboxAndForward|fl  </code></pre>
</p>
<p>Alle Postfächer einer bestimmt OU in PST-File sichern:</p>
<pre><code>$Export = Get-User -OrganizationalUnit “yourdomain.com/OU/SubOU” -Filter “RecipientType -eq ‘UserMailbox'” | Get-Mailbox ; $Export|%{$_|New-MailboxExportRequest -FilePath c:\temp\$($_.alias).pst}</code></pre>
</p>
<p>Postfachgrößen ausgeben lassen:</p>
<pre><code>Get-Mailbox | where { $_.customattribute7 -ne “exempt” } | Get-MailboxStatistics | select displayname, itemcount, TotalItemSize | sort-object totalitemsize -descending | format-table displayname, itemcount, @{expression= {$_.TotalItemSize.value.ToMB()};label=”TotalItemSize(MB)”} -Auto</code></pre></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
