Setting Variables In My Powershell Profiles

So based on some recommendations in my thread here, I have started working in VSCODE since it supports to MFA for exchange online/Azure AD Online. One of the limitations i have found is that unlike ISE each new file is isolated inside itself and all modules ( Azure AD, Office 365) need to be […]

message box

this is my code and it works Public Class frmLoto Inherits System.Windows.Forms.Form Dim random As Random Private Sub frmLoto_Load(sender As Object, e As EventArgs) Handles MyBase.Load End Sub Private Sub picLogo_Click(sender As Object, e As EventArgs) Handles picLogo.Click End Sub Private Sub cmdRoule1_Click(sender As Object, e As EventArgs) Handles cmdRoule1.Click Dim cmdRoule1 As Integer Dim […]

This always struck me as something between “I learned coding on older languages and won’t change” and “I’m to lazy to do this a better way”…

$i = 1 for ($i ; $i -le $variable.Count ; $i++) { Do-Something } I recall having to do this in VBScript and Perl, but PowerShell is Object Oriented and I’ve never needed to do this. Just about every time I’m swiping bits of code from somewhere on the web, and find a variation of […]