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