<#
.SYNOPSIS
Short description of the function or script.
.DESCRIPTION
Elaborate description of the function or script.
.PARAMETER
<#
.SYNOPSIS
Short description of the function or script.
.DESCRIPTION
Elaborate description of the function or script.
.PARAMETER
Generate a temporary file name
> [System.IO.Path]::GetTempFileName()
Resolve a host name to it's FQDN
> [system.net.dns]::resolve($env:computername)
> [system.net.dns]::resolve($env:computername).host #Return the FQDN only
On windows 2012 R2 frequently have errors trying to install .Net FrameWork 3.5. The following command, run in elavated cmd box, installs it offline.
dism /online /enable-feature /featurename:netfx /all /source::\sources\sxs /LimitAccess
[Microsoft Technet Information] (https://support.microsoft.com/en-us/kb/2734782#/en-us/kb/2734782) .Net Framework 3.5 installation error: 0x800F0906, 0x800f081f, 0x800f0907
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#TodoIst Power Filters
A list of some Power Filters I use with Todoist ( https://todoist.com )
All tasks labelled "Waiting" and a due date that has passed or is today
@waiting & (overdue, today)
if (-not$(Get-pssnapin Microsoft.SharePoint.PowerShell -erroraction "SilentlyContinue")) {Add-PSSnapin Microsoft.SharePoint.PowerShell} |