<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<copyright>Copyright 1998 - 2023 DPG Media B.V.</copyright>
		<pubDate>Wed, 11 Jan 2023 21:04:28 GMT</pubDate>
		<lastBuildDate>Wed, 11 Jan 2023 21:04:28 GMT</lastBuildDate>
		<docs>https://tweakers.net/reviews/76</docs>
		<description>Tweakblogs.net is de weblog service van Tweakers, de grootste hardwaresite en techcommunity van Nederland.</description>
		<image>
			<link>https://tweakblogs.net/</link>
			<title>Tweakblogs.net</title>
			<url>https://tweakers.net/g/if/logo.gif</url>
			<height></height><width></width>
			<description>Tweakblogs.net</description>
		</image>
		<language>nl-nl</language>
		<link>https://itstuff.tweakblogs.net</link>
		<title>IT Stuff</title>
		<webMaster>gathering@tweakers.net</webMaster>
		<item>
			<title>Mailbox statistieken</title>
			<link>https://itstuff.tweakblogs.net/blog/13499/mailbox-statistieken#r_187165</link>
			<description>lordsnow schreef op zaterdag 09 juli 2016 @ 17:33:
Deze Steve dus: http://www.stevieg.org/
En niet deze Steve: http://www.stevegoodman.net/

... neem ik aan Zie laatste link</description><dc:creator>Damic</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/13499/mailbox-statistieken#r_187165#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/13499#r_187165</guid>
			<pubDate>Mon, 11 Jul 2016 17:58:43 GMT</pubDate>
		</item>
		<item>
			<title>Mailbox statistieken</title>
			<link>https://itstuff.tweakblogs.net/blog/13499/mailbox-statistieken#r_187031</link>
			<description>Deze Steve dus: http://www.stevieg.org/
En niet deze Steve: http://www.stevegoodman.net/

... neem ik aan </description><dc:creator>lordsnow</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/13499/mailbox-statistieken#r_187031#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/13499#r_187031</guid>
			<pubDate>Sat, 09 Jul 2016 15:33:35 GMT</pubDate>
		</item>
		<item>
			<title>Exchange rechten op mailboxen</title>
			<link>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164159</link>
			<description>PowerShell:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
param(
  [string]$file
)

$mailboxes = import-csv $file
ForEach ($mailbox in $mailboxes) { 

&quot;Mailbox:&quot;
$mailbox.Mailbox
&quot;Send As:&quot;
$mailbox.Mailbox |Get-ADPermission | ? {$_.ExtendedRights -like &quot;Send-As&quot; -and $_.User -notlike &quot;NT AUTHORITY\SELF&quot; -and !$_.IsInherited} | select user |fl
&quot;Full Access:&quot;
Get-MailboxPermission $mailbox.Mailbox | ? {$_.AccessRights -eq &quot;FullAccess&quot; -and !$_.IsInherited} | select user |fl
&quot;Send on Behalf:&quot;
$mailbox.Mailbox | select -ExpandProperty GrantSendOnBehalfTo | select name |fl

}

Zoiets dan maar, scheelt inderdaad nogal wat Get-Mailbox statements, maar wel handig script verder </description><dc:creator>Mental</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164159#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11701#r_164159</guid>
			<pubDate>Wed, 22 Apr 2015 18:07:48 GMT</pubDate>
		</item>
		<item>
			<title>VDP bug?</title>
			<link>https://itstuff.tweakblogs.net/blog/11657/vdp-bug#r_164144</link>
			<description>Heb je dit gemeldt bij VDP?</description><dc:creator>Falcon</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11657/vdp-bug#r_164144#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11657#r_164144</guid>
			<pubDate>Wed, 22 Apr 2015 12:51:09 GMT</pubDate>
		</item>
		<item>
			<title>Exchange rechten op mailboxen</title>
			<link>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164134</link>
			<description>Thnx voor de tips  </description><dc:creator>Oogje</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164134#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11701#r_164134</guid>
			<pubDate>Wed, 22 Apr 2015 10:38:26 GMT</pubDate>
		</item>
		<item>
			<title>Exchange rechten op mailboxen</title>
			<link>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164131</link>
			<description>Leuk bezig.   

Een paar tips:

PowerShell:1
2
$SendAs = Get-mailbox $_.Mailbox
$SendOnBehalf = Get-mailbox $_.Mailbox
Je vraagt hier twee keer dezelfde mailbox op. Je kan de mailbox ook in een variabele zetten en daar verder uit werken.

Verder maak je gebruik van het vraagteken als alias voor where-object. Als jij de enige bent die het script gebruikt is het natuurlijk super, maar als anderen het moeten lezen kan het onduidelijkheid scheppen. Om die reden laat ik het zelf altijd weg.

Voor je output:
Je kan gebruik maken van een PSObject om het in een hashtable te zetten: http://blogs.msdn.com/b/p...t-property-hashtable.aspx

Exporteert uitstekend naar een csv en leest lekker van het scherm </description><dc:creator>Morphogenesis</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164131#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11701#r_164131</guid>
			<pubDate>Wed, 22 Apr 2015 09:50:00 GMT</pubDate>
		</item>
		<item>
			<title>Exchange rechten op mailboxen</title>
			<link>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164041</link>
			<description>G.Scholtens schreef op dinsdag 21 april 2015 @ 11:39:
Import-Csv : Cannot validate argument on parameter &#039;Path&#039;. The argument is null or empty. Supply an argument that is not null or empty and then try the command again.
At line:5 char:12
+ import-csv $file | ForEach {
+            ~~~~~
    + CategoryInfo          : InvalidData: ( [Import-Csv], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.ImportCsvCommandJe moet dit script draaien met als de CSV file argument, bijvoorbeeld:
PowerShell:1
c:\test\SendAs.ps1 c:\test\SendAsMailbox.csv
Mocht je deze wijze niet prettig vinden kan je regel 1t/m3 vervangen voor:
PowerShell:1
$file = &quot;c:\test\SendAsMailbox.csv&quot;

@Oogje
:wub:
Je kan er ook nog voor kiezen om de modules voor de AD en Exchange te importeren in je script. Het maakt dan niet meer uit of je het gewoon vanuit een &quot;normale&quot; powershell window start of vanuit een Exchange Management Powershell.
PowerShell:1
2
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ea SilentlyContinue
Import-Module ActiveDirectory -ea SilentlyContinue</description><dc:creator>mhoogendam</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164041#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11701#r_164041</guid>
			<pubDate>Tue, 21 Apr 2015 10:14:29 GMT</pubDate>
		</item>
		<item>
			<title>Exchange rechten op mailboxen</title>
			<link>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164039</link>
			<description>Ik zal mn post ff updaten  Het gaat mis bij de CSV import.

edit: eea ff wat duidelijk neergezet, thnx </description><dc:creator>Oogje</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164039#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11701#r_164039</guid>
			<pubDate>Tue, 21 Apr 2015 09:52:26 GMT</pubDate>
		</item>
		<item>
			<title>Exchange rechten op mailboxen</title>
			<link>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164037</link>
			<description>Import-Csv : Cannot validate argument on parameter &#039;Path&#039;. The argument is null or empty. Supply an argument that is not null or empty and then try the command again.
At line:5 char:12
+ import-csv $file | ForEach {
+            ~~~~~
    + CategoryInfo          : InvalidData: ( [Import-Csv], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.ImportCsvCommand</description><dc:creator>G.Scholtens</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164037#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11701#r_164037</guid>
			<pubDate>Tue, 21 Apr 2015 09:39:33 GMT</pubDate>
		</item>
		<item>
			<title>Exchange rechten op mailboxen</title>
			<link>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164036</link>
			<description>Oogje schreef op dinsdag 21 april 2015 @ 11:05:
Als je het script draait zoals het hier staat krijg je wel output op het scherm?Nog niet, kan dat het even duurt, hebben nogal wat mailboxen in onze omgeving</description><dc:creator>G.Scholtens</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164036#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11701#r_164036</guid>
			<pubDate>Tue, 21 Apr 2015 09:37:24 GMT</pubDate>
		</item>
		<item>
			<title>Exchange rechten op mailboxen</title>
			<link>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164034</link>
			<description>Als je het script draait zoals het hier staat krijg je wel output op het scherm?</description><dc:creator>Oogje</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164034#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11701#r_164034</guid>
			<pubDate>Tue, 21 Apr 2015 09:05:23 GMT</pubDate>
		</item>
		<item>
			<title>Exchange rechten op mailboxen</title>
			<link>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164033</link>
			<description>Leuk om e volgen, was net naar zoiets op zoek. Voor V2 klinkt veel belovend.
Echter krijg ik deze versie ook niet aan de praat.

Wil de output van dit script exporteren naar een .txt bestand, maar bestand blijft leeg qua inhoud</description><dc:creator>G.Scholtens</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11701/exchange-rechten-op-mailboxen#r_164033#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11701#r_164033</guid>
			<pubDate>Tue, 21 Apr 2015 09:00:47 GMT</pubDate>
		</item>
		<item>
			<title>VDP bug?</title>
			<link>https://itstuff.tweakblogs.net/blog/11657/vdp-bug#r_163396</link>
			<description>Mooi pakket, handig in gebruik als alles werkt maar het voelt allemaal nog niet af wat mij betreft. Ook nog wel heeeeel erg duidelijk dat het een opgekocht product is  Maar goed om te weten dat renamen van accounts geen goed plan is i.c.m. VDP </description><dc:creator>Staatslot</dc:creator>
			<category></category>
			<comments>https://itstuff.tweakblogs.net/blog/11657/vdp-bug#r_163396#reacties</comments>
			<guid isPermaLink="false">https://itstuff.tweakblogs.net/blog/11657#r_163396</guid>
			<pubDate>Wed, 08 Apr 2015 05:53:56 GMT</pubDate>
		</item>
	</channel>
</rss>