#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
<# | |
.SYNOPSIS | |
A full graceful telnet client using PowerShell and the .NET Framework. | |
.DESCRIPTION | |
This script was made with a view of using it to have full control over the text | |
stream for automating Cisco router and switch configurations. | |
.PARAMETER TelnetHost | |
The address of the server or router hosting the telnet service. |
<# | |
.Synopsis | |
Returns IPv4 address details for the local machine. | |
Information is gathered from the active interface being used by the default route. | |
#> | |
[CmdletBinding()] | |
[OutputType([string])] | |
Param () | |
Write-Verbose -Message ("Begin: " + $MyInvocation.MyCommand.Path) |
<# | |
.Synopsis | |
Invokes a standard web request against all the sites in SharePoint. | |
.Description | |
There are some dependencies to run this script as follows; | |
The account used to run this script will need read access to all | |
sites for the initialization to fully succeed. |
Update-ExecutionPolicy -Policy Unrestricted | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableExpandToOpenFolder -EnableShowFullPathInTitleBar -EnableOpenFileExplorerToQuickAccess -EnableShowRecentFilesInQuickAccess -EnableShowFrequentFoldersInQuickAccess | |
Set-StartScreenOptions -EnableBootToDesktop | |
Set-TaskbarOptions -Combine Never | |
Enable-RemoteDesktop | |
Disable-InternetExplorerESC | |
Disable-UAC | |
Disable-BingSearch | |
Disable-GameBarTips |
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
<# | |
.SYNOPSIS | |
Detects if the passed Physical Disk Id is a Solid State Disk (SSD) or a | |
spindle disk. Returns true for an SSD and false for anything else. | |
.DESCRIPTION | |
Use Get-PhysicalDisk to get the Physical Disk Ids for the system you wish | |
to test. This script supports values being passed throught the pipeline. | |
The methods used for detecting are by reading the Nominal Media Rotation |
{ | |
"firstName": "John", | |
"lastName": "Smith", | |
"age": 25, | |
"address": | |
{ | |
"streetAddress": "21 2nd Street", | |
"city": "New York", | |
"state": "NY", | |
"postalCode": "10021" |
Install-Module -Name <module name> -Force