Tous les articles par nutcracker

OneDrive en double

Faire disparaitre icone onedrive sur explorateur

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_onedrivefb-mso_win10-mso_o365b/attempting-to-remove-onedrive-from-file-explorer/50eee8cb-c810-4bc5-8761-92184c8b8155

f you want to stop using OneDrive, you can follow steps below:
1.Right click OneDrive icon in the task bar.
2.Click Settings> Account> Unlink this PC.

If you just want remove OneDrive folder shortcut from the Windows Explorer and keep using OneDrive to sync your files:
1.Open the Registry Editor by clicking the Windows + R button and enter regedit > OK.
2.Please navigate to HKEY_CLASSES_ROOT > CLSID. Inside the folder, please search (CTRL + F) for OneDrive.
3.Find next until you find one that has the OneDrive – Personal (The shortcut in the Windows Explorer linked to your personal OneDrive) or OneDrive – CompanyName (Linked to your OneDrive for Business account)  as the Default value and looks something like the screenshot below:
Image

remarque:  clé trouvé
not find {018D5C66-4533-4307-9B53-224DE2ED1FE6} key either. was able to fix this by looking for {04271989-C4D2-8A97-4544-F0A219850698}

4.Modify the System.IsPinnedToNameSpaceTree value to 0 > OK.
5.Restart your computer.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Edit at your own risk.

 

cle sur windows normal

onedrive

 

Strategie retention de messagerie MRM/MFA

https://support.office.com/fr-fr/article/Définir-une-stratégie-d-archivadge-et-suppression-pour-les-boîtes-aux-lettres-dans-votre-organisation-Office-365-ec3587e4-7b4a-40fb-8fb8-8aa05aeae2ce

Connexion exchange online en ps
$UserCredential = Get-Credential

$Session = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential –Authentication Basic -AllowRedirection

Import-PSSession $Session
tester

Get-Mailbox

MFA manager folder assistant (forcer strategie retention -  proprietes ManagedFolderWorkCycle)

Journal MFA
Export-MailboxDiagnosticLogs –Identity @mail -ExtendedProperties
 =insight into what MFA did the last time it processed
Forcer application strategie retention pour une bal
 Start-ManagedFolderAssistant -Identity @mail
Démarrer l’Assistant Dossier géré pour toutes les boîtes aux lettres utilisateur de votre organisation.
$Mailboxes = Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox"}
$Mailboxes.Identity | Start-ManagedFolderAssistant
ou
get-mailbox | start-managedfolderassistant
Voir retent Policy
Get-RetentionPolicy | fl Name
verifier retention un mail
 Get-mailbox UPN | fl RetentionPolicy
 RetentionPolicy : Default MRM Policy
To change or set a retention policy for a user, run the following cmdlet:
 Set-Mailbox <primary SMTP address> -RetentionPolicy "Contoso-Default-Retention-Policy"
To view the retention policy tags that are associated with the plan, run the following cmdlet:
 (Get-RetentionPolicy "Contoso-Default-Retention-Policy").RetentionPolicyTagLinks | Format-Table name
 The output of this cmdlet resembles the following:
Name
 ----
 1 Month Delete
 1 Year Delete
 3 Year Delete
 6 Month Delete
 Never Delete
 Voice Mail Deletion
 1 Week Archive
 1 Month Archive
 1 Year Archive
 Never Archive
 2 Year Archive
 3 Month Archive
 6 Month Archive
 3 Year Archive

Erreur outlook

Rupture des liens html/htm (restrictions autorisations lors du clic sur un lien contenu sur message)
erreur outlook

Mise a jour windows obligeant outlook a ouvrir internet explorer par defaut
modifier valeur de chaîne (par défaut) de la clé par htmlfile (voir kb):
HKEY_CLASSES_ROOT \.html
redefinir firefox par defaut

http://support.microsoft.com/kb/310049/fr

ou

Solution 1 :
1). Dans IE, onglet Outils, Options Internet, onglet Programmes, cliquer sur « utiliser par défaut » pour que IE soit le navigateur par défaut,
2). et dans onglet Avancé, cliquer sur « rétablir les paramètres avancés »,
3). Redémarrer l’ordinateur.

Solution 2 :
1). Aller sur le lien : http://www.dougknox.com/xp/file_assoc.htm
2). Télécharger le HTM/HTML Associations (Restore the default associations for htm/html files).
3). Exécuter le fichier téléchargé qui recréé une clé de registre manquante ou corrompue.
4).Redémarrer votre pc.

Links Network Monitoring and Analysis Tools

a tester

Osssim
https://www.alienvault.com/products/ossim

http://lea-linux.org/documentations/Logith%C3%A8que:Superviseurs_sniffeurs_sondes_IDS

shinken
https://www.howtoforge.com/tutorial/server-monitoring-with-shinken-on-ubuntu-16-04/

OMD et check_mk
https://www.digitalocean.com/community/tutorials/how-to-use-open-monitoring-distribution-with-check_mk-on-ubuntu-14-04

https://techtalk.gfi.com/the-top-20-free-network-monitoring-and-analysis-tools-for-sys-admins/

https://techtalk.gfi.com/101-free-admin-tools/

Notification web push

Comment désactiver complètement les notifications Web Push ?

Pour désactiver Web Push et interrompre les invites « Activer les notifications » sur toutes les pages web :

  1. Dans la barre d’adresse, saisissez about:config, puis appuyez sur Entrée
    • La page d’avertissement « Attention, danger ! » doit apparaître. Cliquez sur Je prends le risque pour accéder à la page « about:config ».
  2. Recherchez l’option dom.webnotifications.enabled.
  3. Double-cliquez sur le résultat de la recherche pour passer sa valeur de true à false
  4. Recherchez l’option dom.push.enabled.
  5. Double-cliquez sur le résultat de la recherche pour passer sa valeur de true à false

EOA archivage en ligne

verification licence sur portail o365
portail o365 administration

Verifier les  utilisateurs avec archivage in place activé
menu office365
Centre administration
securite conformite
data gouvernance
menu Archives

 

activer via interface ecp ou o365
https://answers.microsoft.com/fr-fr/msoffice/forum/msoffice_o365admin-mso_exchon-mso_o365b/archivage-dans-office-365-aper%C3%A7u/d61e2328-67a1-497a-a445-4fc728a677a0
Image

Strategie de retention

la stratégie est exécutée une seule fois par semaine, afin de ne pas en attendre autant, vous pouvez déclencher le processus en utilisant la commande PowerShell suivante :
Start-ManageFolderAssistant -Identity <user [@] contoso.com>

Si nous modifions la balise de rétention qui s’applique au dossier, nous devons exécuter Start-ManagedFolderAssistant deux fois : premièrement, pour réestampiller les éléments et deuxièmement pour déclencher l’action de rétention.
Les éléments ne seront pas réestampillés si la balise a été attribuée directement au message.

 

verification via powershell sur bal

https://blogs.technet.microsoft.com/exchange/2018/04/09/office-365-auto-expanding-archives-faq/

verifier la licence office 365 ou exchange permettant l’archivage en ligne

Auto-expanding archives are supported under the following service plans (EDU organizations included):

  • Exchange Online Plan 2
  • Exchange Online Archiving addon
  • Office 365 Enterprise E3/E5

The above service plans contain the following capabilities we check on the mailbox:

  • BPOS_S_ArchiveAddOn,
  • BPOS_S_Archive,
  • BPOS_S_Enterprise

PS C:\> Get-Mailbox testing1|select PersistedCapabilities

PersistedCapabilities
———————
{BPOS_S_EquivioAnalytics, BPOS_S_CustomerLockbox, BPOS_S_Analytics, BPOS_S_Enterprise}

Start-Transcript

enregistrer commandes saisie

Start-Transcript -path C:\output.txt -append
# do some stuff
Stop-Transcript | out-null

EXCHANGE PS

Verifier activation de archivage  local

Get-Mailbox -Filter {ArchiveStatus -Eq « None » -AND RecipientTypeDetails -eq « UserMailbox »}
Verifier activation archivage in place (en ligne personnel) auto-expanding archiving

Get-Mailbox <user> | fl *archive*

ou
Get-Mailbox -Filter {ArchiveStatus -Eq "None"}

verifier Archivage Database et AutoExpandingArchiveEnabled

activer archivage de tous les users
Get-Mailbox -Filter {ArchiveStatus -Eq « None » -AND RecipientTypeDetails -eq « UserMailbox »} | Enable-Mailbox -Archive

desactiver archivage local

Disable-Mailbox -Identity "Chris Ashton" -Archive

verifier

Get-Mailbox -Identity "Chris Ashton" | Format-List *Archive*
Enable-Mailbox -Identity Ayla -Archive

Archivage en ligne

Enable-Mailbox <user mailbox> -AutoExpandingArchive

verifier
Get-Mailbox saisie1 | fl AutoExpandingArchiveEnabled

Enable-Mailbox -Identity ayla@contoso.com -RemoteArchive -ArchiveDomain "archive.contoso.com"

 

 

 

sharepoint liens utiles

en cours

script connexion sharepoint
$adminUPN= »@mail »
$orgName= »domaine sharepoint »
$userCredential = Get-Credential -UserName $adminUPN -Message « Type the password. »
Connect-SPOService -Url https://$orgName-admin.sharepoint.com -Credential $userCredential

Deconnexion sharepoint

Disconnect-SPOService

https://technet.microsoft.com/fr-fr/library/fp161372.aspx

powershell groupe et permissions sharepoint

https://www.sherweb.com/blog/how-to-use-powershell-for-sharepoint/

CONNEXION Exchange online

Set-ExecutionPolicy RemoteSigned
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session

deconnexion

Remove-PSSession $Session