Overblog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Suivre ce blog Administration + Créer mon blog
MENU

Force reinit VM for Windows 10 OSD Tests

Publié le par damcuvelier

Quand on fait des tests OSD avec des VM HyperV, si on veut lancer un test en se servant d'un iso à la place du boot PXE. Parfois des infos restent en cache et on a des faux positifs ou des faux négatif. Et ça fausse les résultats car les VM ne se réinitialisent...

Lire la suite

[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

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