Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

modification d'un fichier de configuration en Powershell

Featured Replies

Posté(e)

Bonjour,

J'ai besoin de modifier un fichier de configuration logiciel, TEAMS

Le fichier de configuration  :

%appdata%\Microsoft\Teams\desktop-config.json
{"preventUpnDetectSso":false,"silentUpdateTriggered":false,"previousCrashesInfo":{"crashes":[]},"windowState":{"monitorId":*,"x":768,"y":0,"width":768,"height":920,"isMaximized":true,"isFullScreen":false},"restartCommand":{},"userUpn":"","userOid":"*","userTid":"*","guestTenantId":"","homeTenantId":"*","launchTime":"*","desktopZoomLevelV2":3,"isAppFirstRun":false,"overrideOpenAsHiddenProperty":true,"desktopSessionId":"*","teamsUrlProtocolsRegistered":true,"lyncUrlProtocolsRegistered":true,"disableWarningOnOpenKeyRegistered":true,"isPrivateCloud":false,"machineId":"***","deviceInfoId":"**","restartReason":null,"currentWebLanguage":"fr","appPreferenceSettings":{"openAsHidden":true,"openAtLogin":false,"registerAsIMProvider":true,"runningOnClose":true},"isLoggedOut":false,"pastModernAuthSucceeded":true,"previousWebClientVersion":"*","isForeground":false,"isAppSessionEnd":false,"notificationWindowOnClose":true,"isAppTerminated":false}

Mon problème est que les valeurs son entre guillemets et me plante ma commande replace

{ $_ -replace ""******":false",""*******":true" }

Est ce que vous pourriez m'aider?

Merci

Posté(e)
  • Auteur

bon comme d'habitude je trouve quand je poste.

(Get-Content -path $env:APPDATA\Microsoft\Teams\desktop-config.json -Raw) -replace '"*****":false','"*****":true'| Set-Content -Path $env:APPDATA\Microsoft\Teams\desktop-config.json

 

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.