Overblog
Suivre ce blog Administration + Créer mon blog

[powershell] get list of logon/logoff of logged user or another on this computer

Publié le par damcuvelier

[Powershell] Install the Near Ntwork Printer as Default

Publié le par damcuvelier

#get IPScope function GetScope{ Param([Parameter(Mandatory=$true)][string]$PC,[Parameter(Mandatory=$true)][string]$ip) if($ip){$ipV4 = $ip} else{$ipV4 = (Test-Connection -ComputerName $PC -Count 1 | Select IPV4Address).IPV4Address} $ipV40 = $ipV4.split(".")[1]...

Lire la suite

[Powershell] Install Scope's Printers

Publié le par damcuvelier

#get IPScope function GetScope{ Param([Parameter(Mandatory=$true)][string]$PC,[Parameter(Mandatory=$true)][string]$ip) if($ip){$ipV4 = $ip} else{$ipV4 = (Test-Connection -ComputerName $PC -Count 1 | Select IPV4Address).IPV4Address} $ipV40 = $ipV4.split(".")[1]...

Lire la suite

[Powershell] [Windows 10] Disable Action Center

Publié le par damcuvelier

# Run as administrator function DisableActionCenter{ param($Hive) Write-Host "Disabling Action Center..." If (!(Test-Path "$Hive\Software\Policies\Microsoft\Windows\CurrentVersion\PushNotifications")) {New-Item -Path "$Hive\Software\Policies\Microsoft\Windows\CurrentVersion\PushNotifications"...

Lire la suite

[Powershell] [Windows Configuration] How to disable "news and interests" instantly

Publié le par damcuvelier

#Deactivate Windows 10 widget "News and interests" Once and for all: $ShellFeedsTaskbarViewMode = 2 $IsAnaheimEdgeInstalled = (Get-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds -Name "IsAnaheimEdgeInstalled").IsAnaheimEdgeInstalled...

Lire la suite

[CMCB] [Powershell] Clean DPs auto

Publié le par damcuvelier

Sometimes your DPs needs cleaning, because orphean content stay in and decrease free space on the CMCB partition. A solution is to rebuild the DP. Another solution is to use "ContentLibraryCleanup.exe" that is in the CMCB tools into the CMCB source. But...

Lire la suite

[SCCM] [Powershell] Report DPs errors in csv

Publié le par damcuvelier

Connect to SCCM: In admin console type it: Import-Module 'C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1' New-PSDrive -Name -PSProvider "AdminUI.PS.Provider\CMSite" -Root "

Lire la suite

[MEM] [Intune] [Chocolatey] [Powershell] Utiliser Chocolatey pour distribuer des logiciels Internet et les tenir à jour

Publié le par damcuvelier

Chocolatey est une solution logicielle de gestion pour les machines Windows. Chocolatey permet de mettre en place une gestion de paquets pour distribuer facilement des logiciels basés sur Internet via Intune. Cette solution est très utile pour maintenir...

Lire la suite

[MDT] How to dynamically install Active Setup in MDT

Publié le par damcuvelier

Installation Download my script ZTIPopulateActiveSetup.wsf For even more ease/laziness, you should also download the good old CopyOEM.wsf script from Michael Niehaus (Not Mandatory, an xcopy and a package will lead you to the same goal). The script mimics...

Lire la suite

1 2 3 4 5 6 7 8 9 10 20 30 > >>