Top articles
-
Get-DPsApp.ps1
# .\Get-DPsApp.ps1 param($SiteServer,$MP,$SiteCode,[switch]$Grps) #region [Init] $erroractionpreference = 'silentlycontinue' $here = $PSScriptRoot if(!$here){$here = (Get-Location).path} #endregion [Init] #region [Function] function scriptlog{ param($val)...
-
autoreadxml
Pour lire n'importe quelle valeur ou trouver une valeur (ou les valeurs like n*me): # usage:.\autoreadxml.ps1 -xmlfile
-val " " -node " " param($xmlfile, $val, $node) # Vérifier si la valeur contient... -
GetDPGroupsContent.ps1
# .\GetDPGroupsContent.ps1 -Application param( [Alias("Name")] [Parameter(Mandatory, ValueFromPipelineByPropertyName)] [ValidateNotNullOrEmpty()] [String[]]$DistributionPointGroup, [Parameter()] [Switch]$Package, [Parameter()] [Switch]$DriverPackage,...
-
pipeline batch
With the pipeline in batch you can give an answer to a command in command line. Example: C:\>echo Y|del /p file.txt C:\file.txt, delete (Y/N) ? Y what is the point? you tell me. just to give an answer to a command in batch, and because, sometime batch...
-
[powershell] get list of logon/logoff of logged user or another on this computer