Tag Archives: powershell

Windows: Get, set or change the network access type or network category

Hi,

to get and the network access type and the network category use the powershell commandlets Continue reading Windows: Get, set or change the network access type or network category

Powershell: Generate a GUID

Hi,

to create a GUID in powershell for the use in your own scripts call the static function NewGuid() from the system.Guid class.

1
2
PS D:\> [system.Guid]::NewGuid()
f3f8591a-c1d6-4d82-bec2-d3dac2c1fee5

Michael

Office 365: Add Outlook shortout to explorer’s sendto context menu

Hi,

to simply send files by using the Windows Explorer sendto context menu you have to create an Outlook shortcut in the shell:sendto folder.
Continue reading Office 365: Add Outlook shortout to explorer’s sendto context menu

Powershell: Customize the prompt

Hi,

the default prompt of the powershell is “PS” and the current working directory:
Continue reading Powershell: Customize the prompt

Powershell: Run a (init) script when powershell starts

Hi,

if have some own aliases or functions defined which should be loaded when powershell starts you can create a startup script.
Continue reading Powershell: Run a (init) script when powershell starts