How to validate credential argument for your function

You may know that it’s a best practice to validate arguments you pass to your function. For example, if you want to validate that your parameter named MyString is not null nor empty you can use the ValidateNotNullOrEmpty attribute. But there are other validations which must be done through casting1 or type accelerators. And fortunately, […]

In a nutshell: PAW, SAW and why you should care

Like you probably know, most of the threats enter your company through users. The most common scenarios are: infected emails browsing malicious or infected web sites opening infected documents (Word, Excel, …) That’s where the Privileged Access Workstation(PAW) or Secured Admin Workstation (SAW) come in. The main principle behind You separate the user’s environment from […]

Push-Location VS Set-Location

With both cmdlet you can set the current working folder in your console. However, Push-Location becomes really interesting when you associate its use with Pop-Location. Both cmdlets act merely like the Back and Forward buttons from the Windows File Explorer. With Push-Location and Pop-Location, the history is named the stack. However, unlike with the Windows […]