Monthly Archive: January 2011
Andet
January 28, 2011
by
admin
· Published January 28, 2011
If you get this warning: W: GPG error: http://extras.ubuntu.com maverick Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192 You just need to run this command: apt-key...
First install http://www.quest.com/powershell/activeroles-server.aspx Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue $File = “C:\ita\securitygroups.txt” $AllGroups = get-qadgroup -grouptype “Security” | select name, Description $AllGroups | Foreach { echo “” echo “” echo $_.name echo $_.description } | out-File...
get-mailbox | select name, alias, samaccountname, RecipientType, RecipientTypeDetails, displayname | export-csv C:\ITA\usersexport.csv -encoding unicode
import-csv user.csv | foreach-object { echo $_.Displayname New-Mailbox -name ( $_.Name) -Alias $_.Alias -SamAccountName $_.SamAccountName -RecipientType $_.RecipientType -RecipientTypeDetails $_.RecipientTypeDetails -Displayname $_.Displayname }
$File = “C:\ita\groupslog.txt” $Mailboxes = Get-DistributionGroup | select name , alias ,displayname,EmailAddresses $Mailboxes | ForEach { echo “” echo “” echo $_.name Get-DistributionGroupMember -id $_.alias } | out-File $File
$file = “C:\ita\fulladgang.txt” $AllUsers = get-mailbox | select SamAccountName, name, alias $AllUsers | Foreach { echo “” echo “” echo “” echo $_.name get-mailboxfolderpermission -identity $Mailbox } | out-File $File
get-user -filter {Title -eq “InterneServices”} | select name
$File = “C:\ita\fulldadgang-services.txt” $AllUsers = get-user -filter {Title -eq “InterneServices”} | select name $AllUsers | Foreach { echo “” echo “” echo “” echo $_.name Get-MailboxPermission -identity $_.name } | out-File $File
$File = “C:\ita\groupslog.txt” Get-DistributionGroup | select name , alias ,displayname,EmailAddresses | foreach { “Name: “+$_.name “Alias: “+$_.alias “Displayname“ +$_.displayname $_.EmailAddresses | foreach { if($_.SmtpAddress){ “SmtpAddress: “+$_.SmtpAddress } } } | out-File $File
Computer / Windows
January 20, 2011
by
admin
· Published January 20, 2011
· Last modified December 14, 2011
Nå du lukker et Excel ned, så kan den komme den og sige: Microsoft Excel har fundet en fejl og afsluttes. Dette kan muligvis løses ved at gå ned i start og vælg kø,...
Sidste kommentar