This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ErrorCode | ErrorName | Description | |
---|---|---|---|
0x00000000 | ERROR_SUCCESS | The operation completed successfully. | |
0x00000000 | NERR_Success | The operation completed successfully. | |
0x00000001 | ERROR_INVALID_FUNCTION | Incorrect function. | |
0x00000002 | ERROR_FILE_NOT_FOUND | The system cannot find the file specified. | |
0x00000003 | ERROR_PATH_NOT_FOUND | The system cannot find the path specified. | |
0x00000004 | ERROR_TOO_MANY_OPEN_FILES | The system cannot open the file. | |
0x00000005 | ERROR_ACCESS_DENIED | Access is denied. | |
0x00000006 | ERROR_INVALID_HANDLE | The handle is invalid. | |
0x00000007 | ERROR_ARENA_TRASHED | The storage control blocks were destroyed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" | |
encoding="utf-16"?> | |
<Discovery ID="SQL.VMs.Standalone.Group.DiscoveryRule" | |
Enabled="true" | |
Target="SQL.VMs.Standalone.Group" | |
ConfirmDelivery="false" | |
Remotable="true" | |
Priority="Normal"> | |
<Category>Discovery</Category> | |
<DiscoveryTypes> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class FontAwesomeIcons | |
{ | |
public static string _500px = "fa-500px"; | |
public static string AccessibleIcon = "fa-accessible-icon"; | |
public static string Accusoft = "fa-accusoft"; | |
public static string AcquisitionsIncorporated = "fa-acquisitions-incorporated"; | |
public static string Ad = "fa-ad"; | |
public static string AddressBook = "fa-address-book"; | |
public static string AddressCard = "fa-address-card"; | |
public static string Adjust = "fa-adjust"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verbose : Writing Request 'evaluate' with id 2 | |
Diagnostic : WRITE MESSAGE: | |
{ | |
"jsonrpc": "2.0", | |
"id": "2", | |
"method": "evaluate", | |
"params": { | |
"expression": "get-item", | |
"context": "repl", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verbose : Writing Request 'evaluate' with id 14 | |
Diagnostic : WRITE MESSAGE: | |
{ | |
"jsonrpc": "2.0", | |
"id": "14", | |
"method": "evaluate", | |
"params": { | |
"expression": "dir", | |
"context": "repl", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Register-EditorCommand -Name 'Demo' -DisplayName 'Launch Command Test' -ScriptBlock { | |
write-host "Hello World " | |
} | |
$view = New-VSCodeHtmlContentView -Title "Link Test$(Get-Random)" -ShowInColumn Two | |
$content = @" | |
<a href="#" id="link">Run demo command</a><br/> | |
<a href="#" id="link2">Show Console without encodeURI()</a> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Since Windows 10 1703 clients got issues while connecting to a WSUS Server | |
# with 3rd party update, I decided to remove the updates so the categories will disappear | |
# In our case there were updates which were injected by secunia csi. | |
$updateServer = 'wsus-02' | |
[Boolean]$useSecureConnection = $False | |
[Int32]$portNumber = 8530 | |
$null = [reflection.assembly]::LoadWithPartialName('Microsoft.UpdateServices.Administration') | |
$Wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer($updateServer,$useSecureConnection,$portNumber) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://stackoverflow.com/a/2146418 | |
add-type -typedefinition @" | |
using System.Security.Principal; | |
using System; | |
using System.Runtime.InteropServices; | |
public class LookupAccountName | |
{ | |
public const uint SE_GROUP_LOGON_ID = 0xC0000000; // from winnt.h | |
public const int TokenGroups = 2; // from TOKEN_INFORMATION_CLASS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<StackPanel DataContext="{Binding MyDevice}"> | |
<TextBox mah:TextBoxHelper.AutoWatermark="True" Text="{Binding DeviceId}"></TextBox> | |
</StackPanel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Device | |
{ | |
[Display(Name = "Geräte Id")] | |
public int DeviceId { get; set; } | |
[Display(Name = "Geräte Name")] | |
public string DeviceName { get; set; } | |
} |
NewerOlder